Changed __GTK__, __WINDOWS__ and __MOTIF__ to __WXGTK__, __WXMSW__ and __WXMOTIF__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -52,7 +52,7 @@ bool MyApp::OnInit(void)
|
||||
frame->CreateStatusBar(2);
|
||||
|
||||
// Load icon and bitmap
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
frame->SetIcon(wxIcon("aiai_icn"));
|
||||
#endif
|
||||
#ifdef __X__
|
||||
@@ -186,7 +186,7 @@ void MyFrame::LoadFile(wxCommandEvent& event)
|
||||
char *s = wxFileSelector("Load text file", NULL, NULL, NULL, "*.txt");
|
||||
if (s)
|
||||
{
|
||||
#ifdef __WINDOWS__
|
||||
#ifdef __WXMSW__
|
||||
frame->text_window->LoadFile(s);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user