#ifndef __FRMVIEW_G__
#define __FRMVIEW_G__
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "frmview.h"
#endif
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;
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() {}
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;
// 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();
int GetActiveViewNo();
wxFrameView* GetActiveView();
- wxNode* GetActiveViewNode();
+ wxObjectList::compatibility_iterator GetActiveViewNode();
wxFrameView* GetView( int viewNo );