Semicolon fixes according to Vadim's note about being danger (OW,BCC,MinGW,DMC tested).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -233,8 +233,8 @@ class WXDLLEXPORT wxAccessibleBase : public wxObject
|
|||||||
DECLARE_NO_COPY_CLASS(wxAccessibleBase)
|
DECLARE_NO_COPY_CLASS(wxAccessibleBase)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxAccessibleBase(wxWindow* win): m_window(win) {};
|
wxAccessibleBase(wxWindow* win): m_window(win) {}
|
||||||
virtual ~wxAccessibleBase() {};
|
virtual ~wxAccessibleBase() {}
|
||||||
|
|
||||||
// Overridables
|
// Overridables
|
||||||
|
|
||||||
|
@@ -117,7 +117,7 @@ WX_DECLARE_VECTOR(wxClientDataDictionaryPair,wxClientDataDictionaryPairVector);
|
|||||||
class WXDLLIMPEXP_BASE wxClientDataDictionary
|
class WXDLLIMPEXP_BASE wxClientDataDictionary
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxClientDataDictionary() {};
|
wxClientDataDictionary() {}
|
||||||
|
|
||||||
// deletes all the data
|
// deletes all the data
|
||||||
void DestroyData()
|
void DestroyData()
|
||||||
|
@@ -193,7 +193,7 @@ public:
|
|||||||
virtual void OnDraw(wxDC *dc) = 0;
|
virtual void OnDraw(wxDC *dc) = 0;
|
||||||
virtual void OnPrint(wxDC *dc, wxObject *info);
|
virtual void OnPrint(wxDC *dc, wxObject *info);
|
||||||
virtual void OnUpdate(wxView *sender, wxObject *hint = (wxObject *) NULL);
|
virtual void OnUpdate(wxView *sender, wxObject *hint = (wxObject *) NULL);
|
||||||
virtual void OnClosingDocument() {};
|
virtual void OnClosingDocument() {}
|
||||||
virtual void OnChangeFilename();
|
virtual void OnChangeFilename();
|
||||||
|
|
||||||
// Called by framework if created automatically by the default document
|
// Called by framework if created automatically by the default document
|
||||||
|
@@ -121,7 +121,7 @@ public:
|
|||||||
|
|
||||||
// Instance methods.
|
// Instance methods.
|
||||||
|
|
||||||
wxPluginManager() : m_entry(NULL) {};
|
wxPluginManager() : m_entry(NULL) {}
|
||||||
wxPluginManager(const wxString &libname, int flags = wxDL_DEFAULT)
|
wxPluginManager(const wxString &libname, int flags = wxDL_DEFAULT)
|
||||||
{
|
{
|
||||||
Load(libname, flags);
|
Load(libname, flags);
|
||||||
|
@@ -222,7 +222,7 @@ public:
|
|||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
|
|
||||||
~wxDirFilterListCtrl() {};
|
~wxDirFilterListCtrl() {}
|
||||||
|
|
||||||
//// Operations
|
//// Operations
|
||||||
void FillFilterList(const wxString& filter, int defaultFilter);
|
void FillFilterList(const wxString& filter, int defaultFilter);
|
||||||
|
@@ -101,7 +101,7 @@ class WXDLLIMPEXP_ADV wxGridCellEnumEditor : public wxGridCellChoiceEditor
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxGridCellEnumEditor( const wxString& choices = wxEmptyString );
|
wxGridCellEnumEditor( const wxString& choices = wxEmptyString );
|
||||||
virtual ~wxGridCellEnumEditor() {};
|
virtual ~wxGridCellEnumEditor() {}
|
||||||
|
|
||||||
virtual wxGridCellEditor* Clone() const;
|
virtual wxGridCellEditor* Clone() const;
|
||||||
|
|
||||||
|
@@ -44,7 +44,7 @@ class WXDLLIMPEXP_ADV wxSplashScreen: public wxFrame
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// for RTTI macros only
|
// for RTTI macros only
|
||||||
wxSplashScreen() {};
|
wxSplashScreen() {}
|
||||||
wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds,
|
wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds,
|
||||||
wxWindow* parent, wxWindowID id,
|
wxWindow* parent, wxWindowID id,
|
||||||
const wxPoint& pos = wxDefaultPosition,
|
const wxPoint& pos = wxDefaultPosition,
|
||||||
|
@@ -79,7 +79,7 @@ public:
|
|||||||
wxHtmlHelpData *GetHelpData() { return &m_helpData; }
|
wxHtmlHelpData *GetHelpData() { return &m_helpData; }
|
||||||
|
|
||||||
virtual bool Quit() ;
|
virtual bool Quit() ;
|
||||||
virtual void OnQuit() {};
|
virtual void OnQuit() {}
|
||||||
|
|
||||||
void OnCloseFrame(wxCloseEvent& evt);
|
void OnCloseFrame(wxCloseEvent& evt);
|
||||||
|
|
||||||
|
@@ -211,7 +211,7 @@ class WXDLLIMPEXP_HTML wxHtmlWinTagHandler : public wxHtmlTagHandler
|
|||||||
DECLARE_ABSTRACT_CLASS(wxHtmlWinTagHandler)
|
DECLARE_ABSTRACT_CLASS(wxHtmlWinTagHandler)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxHtmlWinTagHandler() : wxHtmlTagHandler() {};
|
wxHtmlWinTagHandler() : wxHtmlTagHandler() {}
|
||||||
|
|
||||||
virtual void SetParser(wxHtmlParser *parser) {wxHtmlTagHandler::SetParser(parser); m_WParser = (wxHtmlWinParser*) parser;};
|
virtual void SetParser(wxHtmlParser *parser) {wxHtmlTagHandler::SetParser(parser); m_WParser = (wxHtmlWinParser*) parser;};
|
||||||
|
|
||||||
@@ -239,7 +239,7 @@ class WXDLLIMPEXP_HTML wxHtmlTagsModule : public wxModule
|
|||||||
DECLARE_DYNAMIC_CLASS(wxHtmlTagsModule)
|
DECLARE_DYNAMIC_CLASS(wxHtmlTagsModule)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxHtmlTagsModule() : wxModule() {};
|
wxHtmlTagsModule() : wxModule() {}
|
||||||
|
|
||||||
virtual bool OnInit();
|
virtual bool OnInit();
|
||||||
virtual void OnExit();
|
virtual void OnExit();
|
||||||
|
@@ -135,7 +135,7 @@ class WXDLLIMPEXP_BASE wxServerBase: public wxObject
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
inline wxServerBase(void) {}
|
inline wxServerBase(void) {}
|
||||||
inline ~wxServerBase(void) {};
|
inline ~wxServerBase(void) {}
|
||||||
|
|
||||||
// Returns false on error (e.g. port number is already in use)
|
// Returns false on error (e.g. port number is already in use)
|
||||||
virtual bool Create(const wxString& serverName) = 0;
|
virtual bool Create(const wxString& serverName) = 0;
|
||||||
@@ -149,8 +149,8 @@ class WXDLLIMPEXP_BASE wxClientBase: public wxObject
|
|||||||
DECLARE_CLASS(wxClientBase)
|
DECLARE_CLASS(wxClientBase)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
inline wxClientBase(void) {};
|
inline wxClientBase(void) {}
|
||||||
inline ~wxClientBase(void) {};
|
inline ~wxClientBase(void) {}
|
||||||
|
|
||||||
virtual bool ValidHost(const wxString& host) = 0;
|
virtual bool ValidHost(const wxString& host) = 0;
|
||||||
|
|
||||||
|
@@ -123,7 +123,7 @@ class WXDLLIMPEXP_BASE wxLog
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// ctor
|
// ctor
|
||||||
wxLog(){};
|
wxLog(){}
|
||||||
|
|
||||||
// Internal buffer.
|
// Internal buffer.
|
||||||
|
|
||||||
|
@@ -24,7 +24,7 @@ class wxFontEnumerator: public wxObject
|
|||||||
{
|
{
|
||||||
DECLARE_CLASS(wxFontEnumerator)
|
DECLARE_CLASS(wxFontEnumerator)
|
||||||
public:
|
public:
|
||||||
wxFontEnumerator() {};
|
wxFontEnumerator() {}
|
||||||
|
|
||||||
// Enumerate the fonts.
|
// Enumerate the fonts.
|
||||||
bool Enumerate();
|
bool Enumerate();
|
||||||
|
@@ -27,8 +27,8 @@ class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
|
|||||||
DECLARE_CLASS(wxWinHelpController)
|
DECLARE_CLASS(wxWinHelpController)
|
||||||
|
|
||||||
public:
|
public:
|
||||||
wxWinHelpController() {};
|
wxWinHelpController() {}
|
||||||
~wxWinHelpController() {};
|
~wxWinHelpController() {}
|
||||||
|
|
||||||
// Must call this to set the filename
|
// Must call this to set the filename
|
||||||
virtual bool Initialize(const wxString& file);
|
virtual bool Initialize(const wxString& file);
|
||||||
|
@@ -93,7 +93,7 @@ public:
|
|||||||
virtual bool Show(bool show = true);
|
virtual bool Show(bool show = true);
|
||||||
void SetFocus();
|
void SetFocus();
|
||||||
virtual bool Enable(bool enable = true);
|
virtual bool Enable(bool enable = true);
|
||||||
void SetLabelFont(const wxFont& WXUNUSED(font)) {};
|
void SetLabelFont(const wxFont& WXUNUSED(font)) {}
|
||||||
void SetButtonFont(const wxFont& font) { SetFont(font); }
|
void SetButtonFont(const wxFont& font) { SetFont(font); }
|
||||||
|
|
||||||
void Command(wxCommandEvent& event);
|
void Command(wxCommandEvent& event);
|
||||||
|
@@ -39,7 +39,7 @@ public:
|
|||||||
long style = wxCONFIG_USE_GLOBAL_FILE);
|
long style = wxCONFIG_USE_GLOBAL_FILE);
|
||||||
|
|
||||||
// dtor will save unsaved data
|
// dtor will save unsaved data
|
||||||
virtual ~wxRegConfig(){};
|
virtual ~wxRegConfig(){}
|
||||||
|
|
||||||
// implement inherited pure virtual functions
|
// implement inherited pure virtual functions
|
||||||
// ------------------------------------------
|
// ------------------------------------------
|
||||||
|
@@ -52,7 +52,7 @@ DECLARE_ABSTRACT_CLASS(wxVariantData)
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
// Construction & destruction
|
// Construction & destruction
|
||||||
wxVariantData() {};
|
wxVariantData() {}
|
||||||
|
|
||||||
// Override these to provide common functionality
|
// Override these to provide common functionality
|
||||||
// Copy to data
|
// Copy to data
|
||||||
|
@@ -368,7 +368,7 @@ public:
|
|||||||
{
|
{
|
||||||
DoSetSizeHints(minW, minH, maxW, maxH, incW, incH);
|
DoSetSizeHints(minW, minH, maxW, maxH, incW, incH);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetSizeHints( const wxSize& minSize,
|
void SetSizeHints( const wxSize& minSize,
|
||||||
const wxSize& maxSize=wxDefaultSize,
|
const wxSize& maxSize=wxDefaultSize,
|
||||||
const wxSize& incSize=wxDefaultSize)
|
const wxSize& incSize=wxDefaultSize)
|
||||||
@@ -377,7 +377,7 @@ public:
|
|||||||
maxSize.x, maxSize.y,
|
maxSize.x, maxSize.y,
|
||||||
incSize.x, incSize.y);
|
incSize.x, incSize.y);
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void DoSetSizeHints(int minW, int minH,
|
virtual void DoSetSizeHints(int minW, int minH,
|
||||||
int maxW = wxDefaultCoord, int maxH = wxDefaultCoord,
|
int maxW = wxDefaultCoord, int maxH = wxDefaultCoord,
|
||||||
int incW = wxDefaultCoord, int incH = wxDefaultCoord );
|
int incW = wxDefaultCoord, int incH = wxDefaultCoord );
|
||||||
@@ -502,7 +502,7 @@ public:
|
|||||||
|
|
||||||
// return the window which currently has the focus or NULL
|
// return the window which currently has the focus or NULL
|
||||||
static wxWindow *FindFocus();
|
static wxWindow *FindFocus();
|
||||||
|
|
||||||
static wxWindow *DoFindFocus() /* = 0: implement in derived classes */;
|
static wxWindow *DoFindFocus() /* = 0: implement in derived classes */;
|
||||||
|
|
||||||
// can this window have focus?
|
// can this window have focus?
|
||||||
@@ -1085,7 +1085,7 @@ protected:
|
|||||||
// returns the main window of composite control; this is the window
|
// returns the main window of composite control; this is the window
|
||||||
// that FindFocus returns if the focus is in one of composite control's
|
// that FindFocus returns if the focus is in one of composite control's
|
||||||
// windows
|
// windows
|
||||||
virtual wxWindow *GetMainWindowOfCompositeControl()
|
virtual wxWindow *GetMainWindowOfCompositeControl()
|
||||||
{ return (wxWindow*)this; }
|
{ return (wxWindow*)this; }
|
||||||
|
|
||||||
// the window id - a number which uniquely identifies a window among
|
// the window id - a number which uniquely identifies a window among
|
||||||
@@ -1412,7 +1412,7 @@ class WXDLLEXPORT wxWindowAccessible: public wxAccessible
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
wxWindowAccessible(wxWindow* win): wxAccessible(win) { if (win) win->SetAccessible(this); }
|
wxWindowAccessible(wxWindow* win): wxAccessible(win) { if (win) win->SetAccessible(this); }
|
||||||
virtual ~wxWindowAccessible() {};
|
virtual ~wxWindowAccessible() {}
|
||||||
|
|
||||||
// Overridables
|
// Overridables
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user