]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/toplevel.h
made FindWindow() member functions const (this makes it possible to use XRCCTRL(...
[wxWidgets.git] / include / wx / toplevel.h
index b14af59160546da465093adb2543500330f79bba..64e9384a99ae23f6eed3f9adecf6fde4827c005f 100644 (file)
@@ -191,6 +191,7 @@ public:
     virtual bool Destroy();
     virtual bool IsTopLevel() const { return true; }
     virtual wxSize GetMaxSize() const;
+    virtual bool ProvidesBackground() const { return true; }
 
     // event handlers
     void OnCloseWindow(wxCloseEvent& event);
@@ -244,7 +245,7 @@ protected:
 
 
 // include the real class declaration
-#if defined(__PALMOS__)
+#if defined(__WXPALMOS__)
     #include "wx/palmos/toplevel.h"
     #define wxTopLevelWindowNative wxTopLevelWindowPalm
 #elif defined(__WXMSW__)