]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for wxFrame under wxMotif
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Nov 2001 15:04:59 +0000 (15:04 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 16 Nov 2001 15:04:59 +0000 (15:04 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/frame.h

index 45da824821826ced1ab57fa24166fc673a0ca98b..aaec9eba9532acf11dcb47e251ac6adb7a3f4465 100644 (file)
@@ -142,6 +142,17 @@ public:
     void DoMenuUpdates(wxMenu* menu, wxWindow* focusWin);
 #endif // wxUSE_MENUS
 
+    // if there is no real wxTopLevelWindow on this platform we have to define
+    // some wxTopLevelWindowBase pure virtual functions here to avoid breaking
+    // old ports (wxMotif) which don't define them in wxFrame
+#ifndef wxTopLevelWindowNative
+    virtual bool ShowFullScreen(bool WXUNUSED(show),
+                                long WXUNUSED(style) = wxFULLSCREEN_ALL)
+        { return FALSE; }
+    virtual bool IsFullScreen() const
+        { return FALSE; }
+#endif // no wxTopLevelWindowNative
+
 protected:
     // the frame main menu/status/tool bars
     // ------------------------------------