]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/palmos/frame.h
Less MSW related files in wxPalmOS port.
[wxWidgets.git] / include / wx / palmos / frame.h
index fab8f6c8a58aa6b5dd9e0e4bd0d8e44b07936786..93d890664c7b50657b31d50fea6370df8d822874 100644 (file)
@@ -1,10 +1,10 @@
 /////////////////////////////////////////////////////////////////////////////
 // Name:        wx/palmos/frame.h
 // Purpose:     wxFrame class
-// Author:      William Osborne
+// Author:      William Osborne - minimal working wxPalmOS port
 // Modified by:
 // Created:     10/13/04
-// RCS-ID:      $Id
+// RCS-ID:      $Id$
 // Copyright:   (c) William Osborne
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -53,7 +53,7 @@ public:
 
     // event handlers
     void OnSysColourChanged(wxSysColourChangedEvent& event);
-    void OnPaint(wxPaintEvent& event);    
+    void OnPaint(wxPaintEvent& event);
 
     // Toolbar
 #if wxUSE_TOOLBAR
@@ -64,26 +64,6 @@ public:
     virtual void PositionToolBar();
 #endif // wxUSE_TOOLBAR
 
-    // Status bar
-#if wxUSE_STATUSBAR
-    virtual wxStatusBar* OnCreateStatusBar(int number = 1,
-                                           long style = wxST_SIZEGRIP,
-                                           wxWindowID id = 0,
-                                           const wxString& name = wxStatusLineNameStr);
-
-    virtual void PositionStatusBar();
-
-    // Hint to tell framework which status bar to use: the default is to use
-    // native one for the platforms which support it (Win32), the generic one
-    // otherwise
-
-    // TODO: should this go into a wxFrameworkSettings class perhaps?
-    static void UseNativeStatusBar(bool useNative)
-        { m_useNativeStatusBar = useNative; };
-    static bool UsesNativeStatusBar()
-        { return m_useNativeStatusBar; };
-#endif // wxUSE_STATUSBAR
-
     WXHMENU GetWinMenu() const { return m_hMenu; }
 
     // event handlers
@@ -108,7 +88,7 @@ public:
     bool HandleMenuOpen();
     bool HandleMenuSelect(int ItemID);
 #endif // wxUSE_MENUS_NATIVE
+
 protected:
     // common part of all ctors
     void Init();
@@ -143,11 +123,6 @@ protected:
     // get default (wxWidgets) icon for the frame
     virtual WXHICON GetDefaultIcon() const;
 
-#if wxUSE_STATUSBAR
-    static bool           m_useNativeStatusBar;
-    wxStatusBar              *StatusBar;
-#endif // wxUSE_STATUSBAR
-
     // Data to save/restore when calling ShowFullScreen
     int                   m_fsStatusBarFields; // 0 for no status bar
     int                   m_fsStatusBarHeight;
@@ -160,7 +135,7 @@ private:
 
     // used by IconizeChildFrames(), see comments there
     bool m_wasMinimized;
-    
+
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxFrame)
 };