DECLARE_NO_COPY_CLASS(wxAccessibleBase)
public:
- wxAccessibleBase(wxWindow* win): m_window(win) {};
- virtual ~wxAccessibleBase() {};
+ wxAccessibleBase(wxWindow* win): m_window(win) {}
+ virtual ~wxAccessibleBase() {}
// Overridables
class WXDLLIMPEXP_BASE wxClientDataDictionary
{
public:
- wxClientDataDictionary() {};
+ wxClientDataDictionary() {}
// deletes all the data
void DestroyData()
virtual void OnDraw(wxDC *dc) = 0;
virtual void OnPrint(wxDC *dc, wxObject *info);
virtual void OnUpdate(wxView *sender, wxObject *hint = (wxObject *) NULL);
- virtual void OnClosingDocument() {};
+ virtual void OnClosingDocument() {}
virtual void OnChangeFilename();
// Called by framework if created automatically by the default document
// Instance methods.
- wxPluginManager() : m_entry(NULL) {};
+ wxPluginManager() : m_entry(NULL) {}
wxPluginManager(const wxString &libname, int flags = wxDL_DEFAULT)
{
Load(libname, flags);
void Init();
- ~wxDirFilterListCtrl() {};
+ ~wxDirFilterListCtrl() {}
//// Operations
void FillFilterList(const wxString& filter, int defaultFilter);
{
public:
wxGridCellEnumEditor( const wxString& choices = wxEmptyString );
- virtual ~wxGridCellEnumEditor() {};
+ virtual ~wxGridCellEnumEditor() {}
virtual wxGridCellEditor* Clone() const;
{
public:
// for RTTI macros only
- wxSplashScreen() {};
+ wxSplashScreen() {}
wxSplashScreen(const wxBitmap& bitmap, long splashStyle, int milliseconds,
wxWindow* parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
wxHtmlHelpData *GetHelpData() { return &m_helpData; }
virtual bool Quit() ;
- virtual void OnQuit() {};
+ virtual void OnQuit() {}
void OnCloseFrame(wxCloseEvent& evt);
DECLARE_ABSTRACT_CLASS(wxHtmlWinTagHandler)
public:
- wxHtmlWinTagHandler() : wxHtmlTagHandler() {};
+ wxHtmlWinTagHandler() : wxHtmlTagHandler() {}
virtual void SetParser(wxHtmlParser *parser) {wxHtmlTagHandler::SetParser(parser); m_WParser = (wxHtmlWinParser*) parser;};
DECLARE_DYNAMIC_CLASS(wxHtmlTagsModule)
public:
- wxHtmlTagsModule() : wxModule() {};
+ wxHtmlTagsModule() : wxModule() {}
virtual bool OnInit();
virtual void OnExit();
public:
inline wxServerBase(void) {}
- inline ~wxServerBase(void) {};
+ inline ~wxServerBase(void) {}
// Returns false on error (e.g. port number is already in use)
virtual bool Create(const wxString& serverName) = 0;
DECLARE_CLASS(wxClientBase)
public:
- inline wxClientBase(void) {};
- inline ~wxClientBase(void) {};
+ inline wxClientBase(void) {}
+ inline ~wxClientBase(void) {}
virtual bool ValidHost(const wxString& host) = 0;
{
public:
// ctor
- wxLog(){};
+ wxLog(){}
// Internal buffer.
{
DECLARE_CLASS(wxFontEnumerator)
public:
- wxFontEnumerator() {};
+ wxFontEnumerator() {}
// Enumerate the fonts.
bool Enumerate();
DECLARE_CLASS(wxWinHelpController)
public:
- wxWinHelpController() {};
- ~wxWinHelpController() {};
+ wxWinHelpController() {}
+ ~wxWinHelpController() {}
// Must call this to set the filename
virtual bool Initialize(const wxString& file);
virtual bool Show(bool show = true);
void SetFocus();
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 Command(wxCommandEvent& event);
long style = wxCONFIG_USE_GLOBAL_FILE);
// dtor will save unsaved data
- virtual ~wxRegConfig(){};
+ virtual ~wxRegConfig(){}
// implement inherited pure virtual functions
// ------------------------------------------
public:
// Construction & destruction
- wxVariantData() {};
+ wxVariantData() {}
// Override these to provide common functionality
// Copy to data
{
DoSetSizeHints(minW, minH, maxW, maxH, incW, incH);
}
-
+
void SetSizeHints( const wxSize& minSize,
const wxSize& maxSize=wxDefaultSize,
const wxSize& incSize=wxDefaultSize)
maxSize.x, maxSize.y,
incSize.x, incSize.y);
}
-
+
virtual void DoSetSizeHints(int minW, int minH,
int maxW = wxDefaultCoord, int maxH = wxDefaultCoord,
int incW = wxDefaultCoord, int incH = wxDefaultCoord );
// return the window which currently has the focus or NULL
static wxWindow *FindFocus();
-
+
static wxWindow *DoFindFocus() /* = 0: implement in derived classes */;
// can this window have focus?
// returns the main window of composite control; this is the window
// that FindFocus returns if the focus is in one of composite control's
// windows
- virtual wxWindow *GetMainWindowOfCompositeControl()
+ virtual wxWindow *GetMainWindowOfCompositeControl()
{ return (wxWindow*)this; }
// the window id - a number which uniquely identifies a window among
{
public:
wxWindowAccessible(wxWindow* win): wxAccessible(win) { if (win) win->SetAccessible(this); }
- virtual ~wxWindowAccessible() {};
+ virtual ~wxWindowAccessible() {}
// Overridables