]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/frame.h
Committing in .
[wxWidgets.git] / include / wx / motif / frame.h
index b8f741e8259a685e76f3ac06b0a1c63cfc760b0c..1e932f95f3f4711ec1e63ca0f89491cbc355d389 100644 (file)
@@ -56,14 +56,6 @@ public:
 
     virtual bool Destroy();
 
-    void GetClientSize(int *width, int *height) const;
-    void GetSize(int *width, int *height) const ;
-    void GetPosition(int *x, int *y) const ;
-
-    wxSize GetSize() const { return wxWindow::GetSize(); }
-    wxPoint GetPosition() const { return wxWindow::GetPosition(); }
-    wxSize GetClientSize() const { return wxWindow::GetClientSize(); }
-
     void ClientToScreen(int *x, int *y) const;
     wxPoint ClientToScreen(const wxPoint& pt) const { return wxWindow::ClientToScreen(pt); }
 
@@ -86,6 +78,8 @@ public:
     void SetTitle(const wxString& title);
     wxString GetTitle() const { return m_title; }
 
+    virtual bool IsTopLevel() const { return TRUE; }
+    
     void Centre(int direction = wxBOTH);
 
     // Call this to simulate a menu command
@@ -174,6 +168,11 @@ public:
 
     bool PreResize();
 
+protected:
+    void DoGetClientSize(int *width, int *height) const;
+    void DoGetSize(int *width, int *height) const ;
+    void DoGetPosition(int *x, int *y) const ;
+
 protected:
     wxMenuBar *           m_frameMenuBar;
     wxStatusBar *         m_frameStatusBar;