removed trailing semicolons after DECLARE_DYNAMIC_CLASS(), Borland chokes on them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
		@@ -892,7 +892,7 @@ private:
 | 
			
		||||
    wxGrid * m_view;
 | 
			
		||||
    wxGridCellAttrProvider *m_attrProvider;
 | 
			
		||||
 | 
			
		||||
    DECLARE_ABSTRACT_CLASS( wxGridTableBase );
 | 
			
		||||
    DECLARE_ABSTRACT_CLASS(wxGridTableBase)
 | 
			
		||||
    DECLARE_NO_COPY_CLASS(wxGridTableBase)
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -200,7 +200,7 @@ protected:
 | 
			
		||||
    bool m_bLoaded;
 | 
			
		||||
    bool m_bLoop;
 | 
			
		||||
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxMediaCtrl);
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxMediaCtrl)
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
// ----------------------------------------------------------------------------
 | 
			
		||||
@@ -262,7 +262,7 @@ public:
 | 
			
		||||
    virtual wxMediaState GetState()
 | 
			
		||||
    {   return wxMEDIASTATE_STOPPED;    }
 | 
			
		||||
 | 
			
		||||
    DECLARE_CLASS(wxMediaBackend)
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxMediaBackend)
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
//Event ID to give to our events
 | 
			
		||||
 
 | 
			
		||||
@@ -140,19 +140,19 @@ private:
 | 
			
		||||
class WXDLLEXPORT wxMenuInfo : public wxObject
 | 
			
		||||
{
 | 
			
		||||
public :
 | 
			
		||||
    wxMenuInfo() { m_menu = NULL ; }
 | 
			
		||||
    wxMenuInfo() { m_menu = NULL; }
 | 
			
		||||
    virtual ~wxMenuInfo() { }
 | 
			
		||||
 | 
			
		||||
    void Create( wxMenu *menu , const wxString &title )
 | 
			
		||||
    { m_menu = menu ; m_title = title ; }
 | 
			
		||||
    wxMenu* GetMenu() const { return m_menu ; }
 | 
			
		||||
    wxString GetTitle() const { return m_title ; }
 | 
			
		||||
    { m_menu = menu; m_title = title; }
 | 
			
		||||
    wxMenu* GetMenu() const { return m_menu; }
 | 
			
		||||
    wxString GetTitle() const { return m_title; }
 | 
			
		||||
private :
 | 
			
		||||
    wxMenu *m_menu ;
 | 
			
		||||
    wxString m_title ;
 | 
			
		||||
    wxMenu *m_menu;
 | 
			
		||||
    wxString m_title;
 | 
			
		||||
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxMenuInfo) ;
 | 
			
		||||
} ;
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxMenuInfo)
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
WX_DECLARE_EXPORTED_LIST(wxMenuInfo, wxMenuInfoList );
 | 
			
		||||
 | 
			
		||||
@@ -169,8 +169,8 @@ public:
 | 
			
		||||
    virtual ~wxMenuBar();
 | 
			
		||||
 | 
			
		||||
    // menubar construction
 | 
			
		||||
    bool Append( wxMenuInfo *info ) { return Append( info->GetMenu() , info->GetTitle() ) ; }
 | 
			
		||||
    const wxMenuInfoList& GetMenuInfos() const ;
 | 
			
		||||
    bool Append( wxMenuInfo *info ) { return Append( info->GetMenu() , info->GetTitle() ); }
 | 
			
		||||
    const wxMenuInfoList& GetMenuInfos() const;
 | 
			
		||||
 | 
			
		||||
    virtual bool Append( wxMenu *menu, const wxString &title );
 | 
			
		||||
    virtual bool Insert(size_t pos, wxMenu *menu, const wxString& title);
 | 
			
		||||
@@ -220,7 +220,7 @@ protected:
 | 
			
		||||
    // common part of all ctors
 | 
			
		||||
    void Init();
 | 
			
		||||
 | 
			
		||||
    wxArrayString m_titles ;
 | 
			
		||||
    wxArrayString m_titles;
 | 
			
		||||
    wxMenuInfoList m_menuInfos;
 | 
			
		||||
 | 
			
		||||
    WXHMENU       m_hMenu;
 | 
			
		||||
 
 | 
			
		||||
@@ -30,23 +30,33 @@
 | 
			
		||||
class WXDLLEXPORT wxNotebookPageInfo : public wxObject
 | 
			
		||||
{
 | 
			
		||||
public :
 | 
			
		||||
    wxNotebookPageInfo() { m_page = NULL ; m_imageId = -1 ; m_selected = false ; }
 | 
			
		||||
    wxNotebookPageInfo() { m_page = NULL; m_imageId = -1; m_selected = false; }
 | 
			
		||||
    virtual ~wxNotebookPageInfo() { }
 | 
			
		||||
 | 
			
		||||
    void Create( wxNotebookPage *page , const wxString &text , bool selected , int imageId )
 | 
			
		||||
    { m_page = page ; m_text = text ; m_selected = selected ; m_imageId = imageId ; }
 | 
			
		||||
    wxNotebookPage* GetPage() const { return m_page ; }
 | 
			
		||||
    wxString GetText() const { return m_text ; }
 | 
			
		||||
    bool GetSelected() const { return m_selected ; }
 | 
			
		||||
    int GetImageId() const { return m_imageId; }
 | 
			
		||||
private :
 | 
			
		||||
    wxNotebookPage *m_page ;
 | 
			
		||||
    wxString m_text ;
 | 
			
		||||
    bool m_selected ;
 | 
			
		||||
    int m_imageId ;
 | 
			
		||||
    void Create(wxNotebookPage *page,
 | 
			
		||||
                const wxString& text,
 | 
			
		||||
                bool selected,
 | 
			
		||||
                int imageId)
 | 
			
		||||
    {
 | 
			
		||||
        m_page = page;
 | 
			
		||||
        m_text = text;
 | 
			
		||||
        m_selected = selected;
 | 
			
		||||
        m_imageId = imageId;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxNotebookPageInfo) ;
 | 
			
		||||
} ;
 | 
			
		||||
    wxNotebookPage* GetPage() const { return m_page; }
 | 
			
		||||
    wxString GetText() const { return m_text; }
 | 
			
		||||
    bool GetSelected() const { return m_selected; }
 | 
			
		||||
    int GetImageId() const { return m_imageId; }
 | 
			
		||||
 | 
			
		||||
private:
 | 
			
		||||
    wxNotebookPage *m_page;
 | 
			
		||||
    wxString m_text;
 | 
			
		||||
    bool m_selected;
 | 
			
		||||
    int m_imageId;
 | 
			
		||||
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxNotebookPageInfo)
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
WX_DECLARE_EXPORTED_LIST(wxNotebookPageInfo, wxNotebookPageInfoList );
 | 
			
		||||
@@ -125,8 +135,8 @@ public:
 | 
			
		||||
                  bool bSelect = false,
 | 
			
		||||
                  int imageId = -1);
 | 
			
		||||
 | 
			
		||||
  void AddPageInfo( wxNotebookPageInfo* info ) { AddPage( info->GetPage() , info->GetText() , info->GetSelected() , info->GetImageId() ) ; }
 | 
			
		||||
  const wxNotebookPageInfoList& GetPageInfos() const ;
 | 
			
		||||
  void AddPageInfo( wxNotebookPageInfo* info ) { AddPage( info->GetPage() , info->GetText() , info->GetSelected() , info->GetImageId() ); }
 | 
			
		||||
  const wxNotebookPageInfoList& GetPageInfos() const;
 | 
			
		||||
 | 
			
		||||
    // Windows-only at present. Also, you must use the wxNB_FIXEDWIDTH
 | 
			
		||||
    // style.
 | 
			
		||||
 
 | 
			
		||||
@@ -186,7 +186,7 @@ public:
 | 
			
		||||
    HWND m_hNotifyWnd;      //Window to use for MCI events
 | 
			
		||||
    bool m_bVideo;          //Whether or not we have video
 | 
			
		||||
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxMCIMediaBackend);
 | 
			
		||||
    DECLARE_DYNAMIC_CLASS(wxMCIMediaBackend)
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
//---------------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user