]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/combog.cpp
Hacks for wine.
[wxWidgets.git] / src / generic / combog.cpp
index 8366a70ea0b0b76e290cfc8ae302e14cc54129af..d970168df3fa39f2e94c7014d503fb844acb0246 100644 (file)
@@ -288,7 +288,7 @@ void wxGenericComboControl::OnMouseEvent( wxMouseEvent& event )
     if ( PreprocessMouseEvent(event,handlerFlags) )
         return;
 
-    const bool ctrlIsButton = wxPlatformIs(wxMSW);
+    const bool ctrlIsButton = wxPlatformIs(wxOS_WINDOWS);
 
     if ( ctrlIsButton &&
          (m_windowStyle & (wxCC_SPECIAL_DCLICK|wxCB_READONLY)) == wxCB_READONLY )