fix almost all deprecation warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Francesco Montorsi 2008-03-24 12:23:31 +00:00
parent 020eeaa8d9
commit 5045ca9ef3
2 changed files with 17 additions and 10 deletions

View file

@ -14,6 +14,10 @@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#ifndef _WXPOEM_H_
#define _WXPOEM_H_
// Define a new application
class MyApp: public wxApp
{
@ -46,7 +50,8 @@ class MainWindow: public wxFrame
{
public:
MyCanvas *canvas;
MainWindow(wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style);
MainWindow(wxFrame *frame, wxWindowID id, const wxString& title,
const wxPoint& pos, const wxSize& size, long style);
virtual ~MainWindow();
void OnCloseWindow(wxCloseEvent& event);
@ -107,3 +112,5 @@ enum
POEM_SEARCH = wxID_FIND,
POEM_MINIMIZE = wxID_ICONIZE_FRAME
};
#endif // _WXPOEM_H_