Wrong #pragma interface/implementation warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma implementation "dynamic.cpp"
|
||||
#pragma interface "dynamic.cpp"
|
||||
#pragma implementation
|
||||
#pragma interface
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
@@ -60,9 +60,9 @@ bool MyApp::OnInit(void)
|
||||
MyFrame *frame = new MyFrame(NULL, _T("Dynamic wxWidgets App"), 50, 50, 450, 340);
|
||||
|
||||
// You used to have to do some casting for param 4, but now there are type-safe handlers
|
||||
frame->Connect( DYNAMIC_QUIT, wxID_ANY,
|
||||
frame->Connect( DYNAMIC_QUIT, wxID_ANY,
|
||||
wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MyFrame::OnQuit) );
|
||||
frame->Connect( DYNAMIC_ABOUT, wxID_ANY,
|
||||
frame->Connect( DYNAMIC_ABOUT, wxID_ANY,
|
||||
wxEVT_COMMAND_MENU_SELECTED, wxCommandEventHandler(MyFrame::OnAbout) );
|
||||
|
||||
// Give it an icon
|
||||
|
Reference in New Issue
Block a user