]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/menuitem.cpp
the modal dialogs restore the focus to the control which had it before the
[wxWidgets.git] / src / msw / menuitem.cpp
index 3cde92823209a29f6352c2d65bbd1d6fbbb1ec02..46625d1a080f324ac263ed3c74249268bd188d90 100644 (file)
@@ -54,7 +54,7 @@
 // -----------
 
 wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
-                       const wxTString& strName, const wxTString& strHelp,
+                       const wxString& strName, const wxString& strHelp,
                        bool bCheckable,
                        wxMenu *pSubMenu) :
 #if USE_OWNER_DRAWN
@@ -67,7 +67,7 @@ wxMenuItem::wxMenuItem(wxMenu *pParentMenu, int id,
 {
   wxASSERT( pParentMenu != NULL );
 
-#ifdef  USE_OWNER_DRAWN
+#if  USE_OWNER_DRAWN
     // set default menu colors
     #define SYS_COLOR(c) (wxSystemSettings::GetSystemColour(wxSYS_COLOUR_##c))