]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.cpp
[ 1505048 ] wxHtml rendering of underlined text
[wxWidgets.git] / samples / dialogs / dialogs.cpp
index 9bedfdd49074f7cf971cddb500715ad884e08ff6..7296bfa0b8e936d00aa8026444c6e3932dab0ccc 100644 (file)
@@ -370,7 +370,7 @@ bool MyApp::OnInit()
     sheet_menu->Append(DIALOGS_PROPERTY_SHEET, _T("&Standard property sheet\tShift-Ctrl-P"));
     sheet_menu->Append(DIALOGS_PROPERTY_SHEET_TOOLBOOK, _T("&Toolbook sheet\tShift-Ctrl-T"));
 
-    if (wxPlatformIs(wxMac))
+    if (wxPlatformIs(wxPORT_MAC))
         sheet_menu->Append(DIALOGS_PROPERTY_SHEET_BUTTONTOOLBOOK, _T("Button &Toolbook sheet\tShift-Ctrl-U"));
 /*
 #ifdef __WXMAC__
@@ -432,6 +432,10 @@ MyFrame::MyFrame(wxWindow *parent,
         );
     }
 #endif // wxUSE_COLOURDLG
+
+#if wxUSE_STATUSBAR
+    CreateStatusBar();
+#endif // wxUSE_STATUSBAR
 }
 
 #if wxUSE_COLOURDLG