X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4cbc57f086cee690f397ac5622d3f1d7153b300e..9838b284443a889c6c629568011c8ce76cfbacd4:/contrib/include/wx/fl/frmview.h diff --git a/contrib/include/wx/fl/frmview.h b/contrib/include/wx/fl/frmview.h index b12e3fbbc5..7d339c3b8c 100644 --- a/contrib/include/wx/fl/frmview.h +++ b/contrib/include/wx/fl/frmview.h @@ -12,7 +12,7 @@ #ifndef __FRMVIEW_G__ #define __FRMVIEW_G__ -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "frmview.h" #endif @@ -32,7 +32,7 @@ class wxFrameManager; It is not clear what this class does. It is not used elsewhere in FL. */ -class wxFrameView : public wxEvtHandler +class WXDLLIMPEXP_FL wxFrameView : public wxEvtHandler { protected: wxStringList mTopMenus; @@ -63,14 +63,14 @@ public: void CreateLayout(); wxFrameLayout* GetLayout(); void SetLayout( wxFrameLayout* pLayout ); - void SetToolUpdates( bool doToolUpdates = TRUE ); + void SetToolUpdates( bool doToolUpdates = true ); // hooks for specific frame-views virtual void OnInit() {} - virtual void OnSerialize( wxObjectStorage& store ) {} + virtual void OnSerialize( wxObjectStorage& WXUNUSED(store) ) {} virtual void OnActiveate() {} virtual void OnDeactivate() {} @@ -87,7 +87,7 @@ class wxFrame; It is not clear what this class does. It is not used elsewhere in FL. */ -class wxFrameManager : wxObject +class WXDLLIMPEXP_FL wxFrameManager : public wxObject { protected: wxList mViews; @@ -114,7 +114,8 @@ public: // if file name is empty, views are are not saved/loaded - virtual void Init( wxWindow* pMainFrame, const wxString& settingsFile = "" ); + virtual void Init( wxWindow* pMainFrame, + const wxString& settingsFile = wxEmptyString ); // synonyms wxFrame* GetParentFrame(); @@ -122,7 +123,7 @@ public: int GetActiveViewNo(); wxFrameView* GetActiveView(); - wxNode* GetActiveViewNode(); + wxObjectList::compatibility_iterator GetActiveViewNode(); wxFrameView* GetView( int viewNo );