]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/utilscmn.cpp
Allow using milliseconds in wxLog timestamp.
[wxWidgets.git] / src / common / utilscmn.cpp
index 6037037de0c253fbf6f635ba7ef42ccad2246983..15908b65e78968a2d8ad40aa26bd9783006d98ad 100644 (file)
@@ -1567,6 +1567,12 @@ void wxEnableTopLevelWindows(bool enable)
         node->GetData()->Enable(enable);
 }
 
+#if defined(__WXOSX__) && wxOSX_USE_COCOA
+
+// defined in evtloop.mm
+
+#else
+
 wxWindowDisabler::wxWindowDisabler(bool disable)
 {
     m_disabled = disable;
@@ -1629,6 +1635,8 @@ wxWindowDisabler::~wxWindowDisabler()
     delete m_winDisabled;
 }
 
+#endif
+
 // Yield to other apps/messages and disable user input to all windows except
 // the given one
 bool wxSafeYield(wxWindow *win, bool onlyIfNeeded)