X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e702ff0f08a54622a6b0f1e2ec39537b082c3a8e..a86f1d4a7d613a94c1136a1a79bca12f4600f56d:/include/wx/gtk/frame.h?ds=sidebyside diff --git a/include/wx/gtk/frame.h b/include/wx/gtk/frame.h index 490d00170f..6dda005801 100644 --- a/include/wx/gtk/frame.h +++ b/include/wx/gtk/frame.h @@ -37,8 +37,8 @@ class wxFrame; // global data //----------------------------------------------------------------------------- -extern const char *wxFrameNameStr; -extern const char *wxToolBarNameStr; +extern const wxChar *wxFrameNameStr; +extern const wxChar *wxToolBarNameStr; //----------------------------------------------------------------------------- // wxFrame @@ -65,7 +65,7 @@ public: virtual void GetClientSize( int *width, int *height ) const; virtual wxStatusBar* CreateStatusBar(int number=1, long style = wxST_SIZEGRIP, wxWindowID id = 0, - const wxString& name = "statusBar"); + const wxString& name = _T("statusBar")); virtual wxStatusBar *OnCreateStatusBar( int number, long style, wxWindowID id, const wxString& name ); virtual wxStatusBar *GetStatusBar() const; @@ -103,18 +103,19 @@ public: // implementation virtual void GtkOnSize( int x, int y, int width, int height ); - virtual wxPoint GetClientAreaOrigin() const; void DoMenuUpdates(); void DoMenuUpdates(wxMenu* menu, wxWindow* focusWin); virtual void OnInternalIdle(); wxMenuBar *m_frameMenuBar; - wxMenuBar *m_mdiMenuBar; wxStatusBar *m_frameStatusBar; wxToolBar *m_frameToolBar; wxString m_title; wxIcon m_icon; int m_miniEdge,m_miniTitle; + GtkWidget *m_mainWidget; + bool m_menuBarDetached; + bool m_toolBarDetached; protected: virtual void DoSetSize(int x, int y,