]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dialogs/dialogs.cpp
[ 1505048 ] wxHtml rendering of underlined text
[wxWidgets.git] / samples / dialogs / dialogs.cpp
index f22d7840e49309d5e43cf2f761e227f12bd55862..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__