]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/accel.h
wxMSW compilation fix for wxCompositeWindow.
[wxWidgets.git] / include / wx / accel.h
index fe1ec1a6fa71dc399014dde1e34907e5d6e097d1..65b9a182f6f96f16f46e7ccd22693a007747fe0f 100644 (file)
@@ -107,8 +107,7 @@ public:
 
     bool IsOk() const
     {
-        return m_flags != 0 &&
-               m_keyCode != 0;
+        return  m_keyCode != 0;
     }
 
 
@@ -157,7 +156,7 @@ private:
 #elif defined(__WXGTK__)
     #include "wx/gtk1/accel.h"
 #elif defined(__WXMAC__)
-    #include "wx/mac/accel.h"
+    #include "wx/osx/accel.h"
 #elif defined(__WXCOCOA__)
     #include "wx/generic/accel.h"
 #elif defined(__WXPM__)