public:
wxAnimationPlayer(wxAnimationBase *animation = (wxAnimationBase *) NULL, bool destroyAnimation = false);
- ~wxAnimationPlayer();
+ virtual ~wxAnimationPlayer();
//// Accessors
DECLARE_ABSTRACT_CLASS(wxAnimationBase)
public:
- wxAnimationBase() {};
- ~wxAnimationBase() {};
+ wxAnimationBase() {}
+ virtual ~wxAnimationBase() {}
//// Accessors. Should be overridden by each derived class.
public:
wxGIFAnimation();
- ~wxGIFAnimation();
+ virtual ~wxGIFAnimation();
//// Accessors
{
Create(parent, id, filename, pos, size, style, name);
}
- ~wxAnimationCtrlBase();
+ virtual ~wxAnimationCtrlBase();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& filename = wxEmptyString,
wxLoadPageEvent(const wxString &hRef = "",wxHtmlAppletWindow *htmlWindow = NULL);
// Destructor
- ~wxLoadPageEvent() {}
+ virtual ~wxLoadPageEvent() {}
// Clone Virtual
virtual wxEvent *Clone() const { return new wxLoadPageEvent(m_hRef, m_htmlWindow); }
wxPageLoadedEvent();
// Destructor
- ~wxPageLoadedEvent() {}
+ virtual ~wxPageLoadedEvent() {}
// Clone Virtual
virtual wxEvent *Clone() const {
public:
wxEchoPrep() : wxHtmlProcessor() {}
- ~wxEchoPrep() {}
+ virtual ~wxEchoPrep() {}
// Process input text and return processed result
wxString Process(const wxString& text) const;
public:
wxIfElsePrep() : wxHtmlProcessor() {}
- ~wxIfElsePrep() {}
+ virtual ~wxIfElsePrep() {}
// Process input text and return processed result
wxString Process(const wxString& text) const;
wxFileSystem *m_FS;
public:
wxIncludePrep() : wxHtmlProcessor() {}
- ~wxIncludePrep() {}
+ virtual ~wxIncludePrep() {}
// Process input text and return processed result
wxString Process(const wxString& text) const;
const wxString& name = "htmlAppletWindow");
// Destructor
- ~wxHtmlAppletWindow();
+ virtual ~wxHtmlAppletWindow();
// Create an instance of an applet based on it's class name
wxApplet *CreateApplet(
wxSize GetGridSizeInPixels() const;
- ~BombsCanvas();
+ virtual ~BombsCanvas();
private:
{
public:
MainFrame(wxFrame *frame, wxChar *title, const wxPoint& pos, const wxSize& size);
- ~MainFrame(void);
+ virtual ~MainFrame(void);
public:
// menu callbacks
class FortyApp: public wxApp
{
public:
- FortyApp(){};
- ~FortyApp();
+ FortyApp(){}
+ virtual ~FortyApp();
bool OnInit();
static const wxColour& BackgroundColour();
class Pack : public Pile {
public:
Pack(int x, int y);
- ~Pack();
+ virtual ~Pack();
void Redraw(wxDC& dc);
void ResetPile() { m_topCard = NumCards - 1; }
void Shuffle();
class Base : public Pile {
public:
Base(int x, int y);
- ~Base(){};
+ virtual ~Base(){}
bool AcceptCard(Card* card);
};
class Foundation : public Pile {
public:
Foundation(int x, int y);
- ~Foundation(){};
+ virtual ~Foundation(){}
bool AcceptCard(Card* card);
};
class Discard : public Pile {
public:
Discard(int x, int y);
- ~Discard(){};
+ virtual ~Discard(){}
void Redraw(wxDC& dc);
void GetTopCardPos(int& x, int& y);
Card* RemoveTopCard(wxDC& dc, int m_xOffset, int m_yOffset);
public:
// ctor and dtor
LifeSamplesDialog(wxWindow *parent);
- ~LifeSamplesDialog();
+ virtual ~LifeSamplesDialog();
// members
const LifePattern& GetPattern();
public:
// ctor and dtor
LifeCanvas(wxWindow* parent, Life* life, bool interactive = true);
- ~LifeCanvas();
+ virtual ~LifeCanvas();
// view management
int GetCellSize() const { return m_cellsize; };
public:
// ctor and dtor
LifeFrame();
- ~LifeFrame();
+ virtual ~LifeFrame();
// member functions
void UpdateInfoText();
{
public:
MyCanvas(wxFrame *frame);
- ~MyCanvas();
+ virtual ~MyCanvas();
void OnPaint(wxPaintEvent& event);
void OnMouseEvent(wxMouseEvent& event);
public:
MyCanvas *canvas;
MainWindow(wxFrame *frame, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style);
- ~MainWindow();
+ virtual ~MainWindow();
void OnCloseWindow(wxCloseEvent& event);
void OnChar(wxKeyEvent& event);
const wxPaneInfo& pane,
wxWindowID id = wxID_ANY
);
- ~wxFloatingPane();
+ virtual ~wxFloatingPane();
void SetPaneWindow(const wxPaneInfo& pane);
private:
void OnSize(wxSizeEvent& event);
{
public:
wxCommand(bool canUndoIt = false, const wxString& name = wxEmptyString);
- ~wxCommand(){}
+ virtual ~wxCommand(){}
// Override this to perform a command
virtual bool Do() = 0;
public:
wxColourData();
wxColourData(const wxColourData& data);
- ~wxColourData();
+ virtual ~wxColourData();
void SetChooseFull(bool flag) { m_chooseFull = flag; }
bool GetChooseFull() const { return m_chooseFull; }
public:
wxPrintData();
wxPrintData(const wxPrintData& printData);
- ~wxPrintData();
+ virtual ~wxPrintData();
int GetNoCopies() const { return m_printNoCopies; }
bool GetCollate() const { return m_printCollate; }
wxPrintDialogData();
wxPrintDialogData(const wxPrintDialogData& dialogData);
wxPrintDialogData(const wxPrintData& printData);
- ~wxPrintDialogData();
+ virtual ~wxPrintDialogData();
int GetFromPage() const { return m_printFromPage; };
int GetToPage() const { return m_printToPage; };
wxPageSetupDialogData();
wxPageSetupDialogData(const wxPageSetupDialogData& dialogData);
wxPageSetupDialogData(const wxPrintData& printData);
- ~wxPageSetupDialogData();
+ virtual ~wxPageSetupDialogData();
wxSize GetPaperSize() const { return m_paperSize; };
wxPaperSize GetPaperId() const { return m_printData.GetPaperId(); };
// Construct a mask from a mono bitmap (copies the bitmap).
wxMask(const wxBitmap& bitmap);
- ~wxMask();
+ virtual ~wxMask();
bool Create(const wxBitmap& bitmap, const wxColour& colour);
bool Create(const wxBitmap& bitmap, int paletteIndex);
wxBitmap(const wxIcon& icon) { CopyFromIcon(icon); }
// destructor
- ~wxBitmap();
+ virtual ~wxBitmap();
// ------------------------------------------------------------------------
// Implementation
wxBrush();
wxBrush(const wxColour& col, int style = wxSOLID);
wxBrush(const wxBitmap& stipple);
- ~wxBrush();
+ virtual ~wxBrush();
// ------------------------------------------------------------------------
// Implementation
DECLARE_DYNAMIC_CLASS(wxClipboard)
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
friend class WXDLLEXPORT wxCursor;
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
protected:
int m_width, m_height;
int hotSpotX = 0, int hotSpotY = 0);
wxCursor(int cursor_type);
- ~wxCursor();
+ virtual ~wxCursor();
virtual bool Ok() const { return m_refData ; }
wxBitmapDataObject(const wxBitmap& bitmap);
// destr
- ~wxBitmapDataObject();
+ virtual ~wxBitmapDataObject();
// override base class virtual to update PNG data too
virtual void SetBitmap(const wxBitmap& bitmap);
//-------------------------------------------------------------------------
public:
wxDC();
- ~wxDC();
+ virtual ~wxDC();
//-------------------------------------------------------------------------
// wxCocoa specifics
wxWindowDC(void);
// Create a DC corresponding to a window
wxWindowDC(wxWindow *win);
- ~wxWindowDC(void);
+ virtual ~wxWindowDC(void);
protected:
wxWindow *m_window;
wxClientDC(void);
// Create a DC corresponding to a window
wxClientDC(wxWindow *win);
- ~wxClientDC(void);
+ virtual ~wxClientDC(void);
protected:
// DC stack
virtual bool CocoaLockFocus();
wxPaintDC(void);
// Create a DC corresponding to a window
wxPaintDC(wxWindow *win);
- ~wxPaintDC(void);
+ virtual ~wxPaintDC(void);
protected:
// DC stack
virtual bool CocoaLockFocus();
public:
wxMemoryDC(void);
wxMemoryDC( wxDC *dc ); // Create compatible DC
- ~wxMemoryDC(void);
+ virtual ~wxMemoryDC(void);
virtual void SelectObject(const wxBitmap& bitmap);
virtual void DoGetSize(int *width, int *height) const;
protected:
public:
wxScreenDC(void);
wxScreenDC( wxDC *dc ); // Create compatible DC
- ~wxScreenDC(void);
+ virtual ~wxScreenDC(void);
// Compatibility with X's requirements for drawing on top of all windows
static bool StartDrawingOnTop(wxWindow* WXUNUSED(window)) { return true; }
long style = wxDEFAULT_DIALOG_STYLE,
const wxString& name = wxDialogNameStr);
- ~wxDialog();
+ virtual ~wxDialog();
protected:
void Init();
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
const wxString& name = wxDirDialogNameStr);
- ~wxDirDialog();
+ virtual ~wxDirDialog();
virtual int ShowModal();
const wxPoint& pos = wxDefaultPosition,
const wxSize& sz = wxDefaultSize,
const wxString& name = wxFileDialogNameStr);
- ~wxFileDialog();
+ virtual ~wxFileDialog();
virtual void SetPath(const wxString& path);
virtual void GetPaths(wxArrayString& paths) const;
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */ );
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
{
LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ICON);
}
- ~wxIcon();
+ virtual ~wxIcon();
bool LoadFile(const wxString& name, wxBitmapType flags /* = wxBITMAP_TYPE_ICON_RESOURCE */ ,
int desiredWidth /* = -1 */ , int desiredHeight = -1);
public:
wxMDIClientWindow();
wxMDIClientWindow( wxMDIParentFrame *parent, long style = 0 );
- ~wxMDIClientWindow();
+ virtual ~wxMDIClientWindow();
virtual bool CreateClient( wxMDIParentFrame *parent, long style = 0 );
};
wxPen();
wxPen(const wxColour& col, int width = 1, int style = wxSOLID);
wxPen(const wxBitmap& stipple, int width);
- ~wxPen();
+ virtual ~wxPen();
// wxObjectRefData
wxObjectRefData *CreateRefData() const;
const wxColour& transColour, int tolerance = 0)
: wxRegionGeneric()
{ Union(bmp, transColour, tolerance); }
- ~wxRegion() {}
+ virtual ~wxRegion() {}
wxRegion(const wxRegion& r)
: wxRegionGeneric(r)
{}
wxRegionIterator(const wxRegionIterator& iterator)
: wxRegionIteratorGeneric(iterator)
{}
- ~wxRegionIterator() {}
+ virtual ~wxRegionIterator() {}
wxRegionIterator& operator=(const wxRegionIterator& iter)
{ return *(wxRegionIterator*)&(this->wxRegionIteratorGeneric::operator=(iter)); }
: m_cocoaNSSound(NULL)
{ LoadWAV(data,size,true); }
wxSound(const wxSound& sound); // why not?
- ~wxSound();
+ virtual ~wxSound();
public:
bool Create(const wxString& fileName, bool isResource = false);
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid)
{ Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start(int millisecs = -1, bool oneShot = false);
virtual void Stop();
public:
wxDataViewColumnBase( const wxString &title, wxDataViewCell *cell, size_t model_column,
int fixed_width = 80, wxDataViewColumnSizing sizing = wxDATAVIEW_COL_WIDTH_FIXED, int flags = 0 );
- ~wxDataViewColumnBase();
+ virtual ~wxDataViewColumnBase();
virtual void SetTitle( const wxString &title );
virtual wxString GetTitle();
{
public:
wxDataViewCtrlBase();
- ~wxDataViewCtrlBase();
+ virtual ~wxDataViewCtrlBase();
virtual bool AssociateModel( wxDataViewListModel *model );
wxDataViewListModel* GetModel();
public:
wxDbGridTableBase(wxDbTable *tab, wxDbGridColInfo *ColInfo,
int count = wxUSE_QUERY, bool takeOwnership = true);
- ~wxDbGridTableBase();
+ virtual ~wxDbGridTableBase();
virtual int GetNumberRows()
{
ResetClipping();
}
- ~wxDCBase() { }
+ virtual ~wxDCBase() { }
#if WXWIN_COMPATIBILITY_2_6
wxDEPRECATED( virtual void BeginDrawing() );
wxDocMDIChildFrame(wxDocument *doc, wxView *view, wxMDIParentFrame *frame, wxWindowID id,
const wxString& title, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long type = wxDEFAULT_FRAME_STYLE, const wxString& name = wxT("frame"));
- ~wxDocMDIChildFrame();
+ virtual ~wxDocMDIChildFrame();
bool Create(wxDocument *doc,
wxView *view,
{
public:
wxDocument(wxDocument *parent = (wxDocument *) NULL);
- ~wxDocument();
+ virtual ~wxDocument();
// accessors
void SetFilename(const wxString& filename, bool notifyViews = false);
public:
// wxView(wxDocument *doc = (wxDocument *) NULL);
wxView();
- ~wxView();
+ virtual ~wxView();
wxDocument *GetDocument() const { return m_viewDocument; }
virtual void SetDocument(wxDocument *doc);
wxClassInfo *viewClassInfo = (wxClassInfo *)NULL,
long flags = wxDEFAULT_TEMPLATE_FLAGS);
- ~wxDocTemplate();
+ virtual ~wxDocTemplate();
// By default, these two member functions dynamically creates document and
// view using dynamic instance construction. Override these if you need a
{
public:
wxDocManager(long flags = wxDEFAULT_DOCMAN_FLAGS, bool initialize = true);
- ~wxDocManager();
+ virtual ~wxDocManager();
virtual bool Initialize();
const wxSize& size = wxDefaultSize,
long type = wxDEFAULT_FRAME_STYLE,
const wxString& name = wxT("frame"));
- ~wxDocChildFrame(){}
+ virtual ~wxDocChildFrame(){}
// Extend event processing to search the view's event table
virtual bool ProcessEvent(wxEvent& event);
{
public:
wxFileHistory(size_t maxFiles = 9, wxWindowID idBase = wxID_FILE1);
- ~wxFileHistory();
+ virtual ~wxFileHistory();
// Operations
virtual void AddFileToHistory(const wxString& file);
public:
wxEncodingConverter();
- ~wxEncodingConverter() { if (m_Table) delete[] m_Table; }
+ virtual ~wxEncodingConverter() { if (m_Table) delete[] m_Table; }
// Initialize conversion. Both output or input encoding may
// be wxFONTENCODING_UNICODE, but only if wxUSE_WCHAR_T is set to 1.
g_isPainting++;
}
- ~wxPaintEvent()
+ virtual ~wxPaintEvent()
{
g_isPainting--;
}
{
public:
wxMemoryFSHandlerBase();
- ~wxMemoryFSHandlerBase();
+ virtual ~wxMemoryFSHandlerBase();
// Add file to list of files stored in memory. Stored data (bitmap, text or
// raw data) will be copied into private memory stream and available under
virtual wxString FindFirst(const wxString& spec, int flags = 0);
virtual wxString FindNext();
void Cleanup();
- ~wxZipFSHandler();
+ virtual ~wxZipFSHandler();
private:
// these vars are used by FindFirst/Next:
#if !wxUSE_STL
wxResourceCache(const unsigned int keyType) : wxList(keyType) { }
#endif
- ~wxResourceCache();
+ virtual ~wxResourceCache();
};
// ---------------------------------------------------------------------------
wxColour& operator=(const wxColour& col);
// dtor
- ~wxColour();
+ virtual ~wxColour();
// accessors
bool Ok() const { return m_isInit; }
{
public:
wxDataViewCell( const wxString &varianttype, wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT );
- ~wxDataViewCell();
+ virtual ~wxDataViewCell();
virtual bool Render( wxRect cell, wxDC *dc, int state ) = 0;
virtual wxSize GetSize() = 0;
wxDataViewProgressCell( const wxString &label = wxEmptyString,
const wxString &varianttype = wxT("long"),
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT );
- ~wxDataViewProgressCell();
+ virtual ~wxDataViewProgressCell();
bool SetValue( const wxVariant &value );
public:
// creating the control
wxDatePickerCtrlGeneric() { Init(); }
- ~wxDatePickerCtrlGeneric() ;
+ virtual ~wxDatePickerCtrlGeneric() ;
wxDatePickerCtrlGeneric(wxWindow *parent,
wxWindowID id,
const wxDateTime& date = wxDefaultDateTime,
wxPostScriptDC(const wxPrintData& printData);
// Recommended destructor :-)
- ~wxPostScriptDC();
+ virtual ~wxPostScriptDC();
virtual bool Ok() const;
{
public:
wxDirItemData(const wxString& path, const wxString& name, bool isDir);
- ~wxDirItemData(){}
+ virtual ~wxDirItemData(){}
void SetNewDirName(const wxString& path);
bool HasSubDirs() const;
void Init();
- ~wxDirFilterListCtrl() {}
+ virtual ~wxDirFilterListCtrl() {}
//// Operations
void FillFilterList(const wxString& filter, int defaultFilter);
}
#endif
- ~wxGenericDragImage();
+ virtual ~wxGenericDragImage();
// Attributes
////////////////////////////////////////////////////////////////////////////
{
public:
wxExtHelpController(wxWindow* parentWindow = NULL);
- ~wxExtHelpController();
+ virtual ~wxExtHelpController();
/** Tell it which browser to use.
The Netscape support will check whether Netscape is already
public:
wxGenericImageList() { m_width = m_height = 0; }
wxGenericImageList( int width, int height, bool mask = true, int initialCount = 1 );
- ~wxGenericImageList();
+ virtual ~wxGenericImageList();
bool Create( int width, int height, bool mask = true, int initialCount = 1 );
bool Create();
{
Create(parent, winid, pos, size, style, validator, name);
}
- ~wxGenericListCtrl();
+ virtual ~wxGenericListCtrl();
bool Create( wxWindow *parent,
wxWindowID winid = wxID_ANY,
bool bShow = true, // show window immediately?
bool bPassToOld = true); // pass messages to the old target?
- ~wxLogWindow();
+ virtual ~wxLogWindow();
// window operations
// show/hide the log window
long style = wxDEFAULT_FRAME_STYLE | wxVSCROLL | wxHSCROLL,
const wxString& name = wxFrameNameStr);
- ~wxGenericMDIParentFrame();
+ virtual ~wxGenericMDIParentFrame();
bool Create( wxWindow *parent,
wxWindowID winid,
const wxString& title,
public:
wxGenericMDIClientWindow();
wxGenericMDIClientWindow( wxGenericMDIParentFrame *parent, long style = 0 );
- ~wxGenericMDIClientWindow();
+ virtual ~wxGenericMDIClientWindow();
virtual bool CreateClient( wxGenericMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL );
virtual int SetSelection(size_t nPage);
long style = 0,
const wxString& name = wxNotebookNameStr);
// dtor
- ~wxNotebook();
+ virtual ~wxNotebook();
// accessors
// ---------
wxPalette();
wxPalette( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue );
- ~wxPalette();
+ virtual ~wxPalette();
bool operator == ( const wxPalette& palette ) const;
bool operator != ( const wxPalette& palette ) const;
virtual bool Ok() const;
/* Destructor.
Re-enables event handling for other windows.
*/
- ~wxProgressDialog();
+ virtual ~wxProgressDialog();
/* Update the status bar to the new value.
@param value new value
wxRegionGeneric(const wxPoint& topLeft, const wxPoint& bottomRight);
wxRegionGeneric(const wxRect& rect);
wxRegionGeneric();
- ~wxRegionGeneric();
+ virtual ~wxRegionGeneric();
bool Ok() const { return m_refData != NULL; }
wxRegionIteratorGeneric();
wxRegionIteratorGeneric(const wxRegionGeneric& region);
wxRegionIteratorGeneric(const wxRegionIteratorGeneric& iterator);
- ~wxRegionIteratorGeneric();
+ virtual ~wxRegionIteratorGeneric();
wxRegionIteratorGeneric& operator=(const wxRegionIteratorGeneric& iterator);
Create(parent, id, pos, size, style, name);
}
- ~wxSashWindow();
+ virtual ~wxSashWindow();
bool Create(wxWindow *parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxSW_3D|wxCLIP_CHILDREN, const wxString& name = wxT("sashWindow"));
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
long style = wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP);
- ~wxSplashScreen();
+ virtual ~wxSplashScreen();
void OnCloseWindow(wxCloseEvent& event);
void OnNotify(wxTimerEvent& event);
DECLARE_DYNAMIC_CLASS(wxTabControl)
public:
wxTabControl(wxTabView *v = (wxTabView *) NULL);
- ~wxTabControl(void);
+ virtual ~wxTabControl(void);
virtual void OnDraw(wxDC& dc, bool lastInRow);
void SetLabel(const wxString& str) { m_controlLabel = str; }
DECLARE_DYNAMIC_CLASS(wxTabView)
public:
wxTabView(long style = wxTAB_STYLE_DRAW_BOX | wxTAB_STYLE_COLOUR_INTERIOR);
- ~wxTabView();
+ virtual ~wxTabView();
inline int GetNumberOfLayers() const { return m_layers.GetCount(); }
#if WXWIN_COMPATIBILITY_2_4
* A dialog box class that is tab-friendly
*/
-class WXDLLEXPORT wxTabbedDialog: public wxDialog
+class WXDLLEXPORT wxTabbedDialog : public wxDialog
{
-DECLARE_DYNAMIC_CLASS(wxTabbedDialog)
+ DECLARE_DYNAMIC_CLASS(wxTabbedDialog)
public:
-
- wxTabbedDialog(wxWindow *parent, wxWindowID id, const wxString& title,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long windowStyle = wxDEFAULT_DIALOG_STYLE, const wxString& name = wxDialogNameStr);
- ~wxTabbedDialog(void);
-
- inline wxTabView *GetTabView() const { return m_tabView; }
- inline void SetTabView(wxTabView *v) { m_tabView = v; }
-
- void OnCloseWindow(wxCloseEvent& event);
- void OnMouseEvent(wxMouseEvent& event);
- void OnPaint(wxPaintEvent& event);
+ wxTabbedDialog(wxWindow *parent,
+ wxWindowID id,
+ const wxString& title,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long windowStyle = wxDEFAULT_DIALOG_STYLE,
+ const wxString& name = wxDialogNameStr);
+ virtual ~wxTabbedDialog();
+
+ wxTabView *GetTabView() const { return m_tabView; }
+ void SetTabView(wxTabView *v) { m_tabView = v; }
+
+ void OnCloseWindow(wxCloseEvent& event);
+ void OnMouseEvent(wxMouseEvent& event);
+ void OnPaint(wxPaintEvent& event);
protected:
- wxTabView* m_tabView;
+ wxTabView* m_tabView;
-DECLARE_EVENT_TABLE()
+private:
+ DECLARE_EVENT_TABLE()
};
/*
* A panel class that is tab-friendly
*/
-class WXDLLEXPORT wxTabbedPanel: public wxPanel
+class WXDLLEXPORT wxTabbedPanel : public wxPanel
{
-DECLARE_DYNAMIC_CLASS(wxTabbedPanel)
+ DECLARE_DYNAMIC_CLASS(wxTabbedPanel)
public:
+ wxTabbedPanel(wxWindow *parent,
+ wxWindowID id,
+ const wxPoint& pos = wxDefaultPosition,
+ const wxSize& size = wxDefaultSize,
+ long windowStyle = 0,
+ const wxString& name = wxPanelNameStr);
+ virtual ~wxTabbedPanel();
- wxTabbedPanel(wxWindow *parent, wxWindowID id,
- const wxPoint& pos = wxDefaultPosition,
- const wxSize& size = wxDefaultSize,
- long windowStyle = 0, const wxString& name = wxPanelNameStr);
- ~wxTabbedPanel(void);
-
- inline wxTabView *GetTabView() const { return m_tabView; }
- inline void SetTabView(wxTabView *v) { m_tabView = v; }
+ wxTabView *GetTabView() const { return m_tabView; }
+ void SetTabView(wxTabView *v) { m_tabView = v; }
- void OnMouseEvent(wxMouseEvent& event);
- void OnPaint(wxPaintEvent& event);
+ void OnMouseEvent(wxMouseEvent& event);
+ void OnPaint(wxPaintEvent& event);
protected:
- wxTabView* m_tabView;
+ wxTabView* m_tabView;
-DECLARE_EVENT_TABLE()
+private:
+ DECLARE_EVENT_TABLE()
};
WX_DECLARE_HASH_MAP(int, wxWindow*, wxIntegerHash, wxIntegerEqual,
wxIntToWindowHashMap);
-class WXDLLEXPORT wxPanelTabView: public wxTabView
+class WXDLLEXPORT wxPanelTabView : public wxTabView
{
-DECLARE_DYNAMIC_CLASS(wxPanelTabView)
+ DECLARE_DYNAMIC_CLASS(wxPanelTabView)
+
public:
- wxPanelTabView(wxPanel *pan, long style = wxTAB_STYLE_DRAW_BOX | wxTAB_STYLE_COLOUR_INTERIOR);
- ~wxPanelTabView(void);
+ wxPanelTabView(wxPanel *pan, long style = wxTAB_STYLE_DRAW_BOX | wxTAB_STYLE_COLOUR_INTERIOR);
+ virtual ~wxPanelTabView(void);
- // Called when a tab is activated
- virtual void OnTabActivate(int activateId, int deactivateId);
+ // Called when a tab is activated
+ virtual void OnTabActivate(int activateId, int deactivateId);
- // Specific to this class
- void AddTabWindow(int id, wxWindow *window);
- wxWindow *GetTabWindow(int id) const ;
- void ClearWindows(bool deleteWindows = true);
- inline wxWindow *GetCurrentWindow() const { return m_currentWindow; }
+ // Specific to this class
+ void AddTabWindow(int id, wxWindow *window);
+ wxWindow *GetTabWindow(int id) const ;
+ void ClearWindows(bool deleteWindows = true);
+ wxWindow *GetCurrentWindow() const { return m_currentWindow; }
- void ShowWindowForTab(int id);
- // inline wxList& GetWindows() const { return (wxList&) m_tabWindows; }
+ void ShowWindowForTab(int id);
+ // wxList& GetWindows() const { return (wxList&) m_tabWindows; }
protected:
- // List of panels, one for each tab. Indexed
- // by tab ID.
- wxIntToWindowHashMap m_tabWindows;
- wxWindow* m_currentWindow;
- wxPanel* m_panel;
+ // List of panels, one for each tab. Indexed
+ // by tab ID.
+ wxIntToWindowHashMap m_tabWindows;
+ wxWindow* m_currentWindow;
+ wxPanel* m_panel;
};
#endif
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int timerid = -1) : wxTimerBase(owner, timerid)
{ Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start(int millisecs = -1, bool oneShot = false);
virtual void Stop();
wxMask( const wxBitmap& bitmap, int paletteIndex );
#endif // wxUSE_PALETTE
wxMask( const wxBitmap& bitmap );
- ~wxMask();
+ virtual ~wxMask();
bool Create( const wxBitmap& bitmap, const wxColour& colour );
#if wxUSE_PALETTE
wxBitmap( char **bits ) { (void)CreateFromXpm((const char **)bits); }
wxBitmap( const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_XPM );
wxBitmap( const wxImage& image, int depth = -1 ) { (void)CreateFromImage(image, depth); }
- ~wxBitmap();
+ virtual ~wxBitmap();
bool operator == ( const wxBitmap& bmp ) const;
bool operator != ( const wxBitmap& bmp ) const;
bool Ok() const;
wxBrush( const wxColour &colour, int style = wxSOLID );
wxBrush( const wxBitmap &stippleBitmap );
- ~wxBrush();
+ virtual ~wxBrush();
bool Ok() const { return m_refData != NULL; }
Create(parent, id, pos, size, choices, style, validator, name);
}
- ~wxChoice();
+ virtual ~wxChoice();
bool Create( wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
{
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
wxColour(const GdkColor& gdkColor);
- ~wxColour();
+ virtual ~wxColour();
bool Ok() const { return m_refData != NULL; }
Create(parent, id, value, pos, size, choices, style, validator, name);
}
- ~wxComboBox();
+ virtual ~wxComboBox();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
wxCursor( const char bits[], int width, int height,
int hotSpotX=-1, int hotSpotY=-1,
const char maskBits[] = NULL, const wxColour *fg = NULL, const wxColour *bg = NULL );
- ~wxCursor();
+ virtual ~wxCursor();
bool operator == ( const wxCursor& cursor ) const;
bool operator != ( const wxCursor& cursor ) const;
bool Ok() const;
wxBitmapDataObject(const wxBitmap& bitmap);
// destr
- ~wxBitmapDataObject();
+ virtual ~wxBitmapDataObject();
// override base class virtual to update PNG data too
virtual void SetBitmap(const wxBitmap& bitmap);
wxDataViewCustomCell( const wxString &varianttype = wxT("string"),
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT,
bool no_init = false );
- ~wxDataViewCustomCell();
+ virtual ~wxDataViewCustomCell();
bool Init();
virtual bool Render( wxRect cell, wxDC *dc, int state ) = 0;
wxDataViewProgressCell( const wxString &label = wxEmptyString,
const wxString &varianttype = wxT("long"),
wxDataViewCellMode mode = wxDATAVIEW_CELL_INERT );
- ~wxDataViewProgressCell();
+ virtual ~wxDataViewProgressCell();
bool SetValue( const wxVariant &value );
{
public:
wxDC();
- ~wxDC() { }
+ virtual ~wxDC() { }
#if wxUSE_PALETTE
void SetColourMap( const wxPalette& palette ) { SetPalette(palette); };
public:
wxMemoryDC();
wxMemoryDC( wxDC *dc ); // Create compatible DC
- ~wxMemoryDC();
+ virtual ~wxMemoryDC();
virtual void SelectObject( const wxBitmap& bitmap );
// these get reimplemented for mono-bitmaps to behave
const wxSize &size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE,
const wxString &name = wxDialogNameStr );
- ~wxDialog() {}
+ virtual ~wxDialog() {}
virtual bool Show( bool show = TRUE );
virtual int ShowModal();
// wxGTK-specific
bool Create(const wxString& fontname);
- ~wxFont();
+ virtual ~wxFont();
// implement base class pure virtuals
virtual int GetPointSize() const;
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */
);
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
void SetColour(const wxChar *colour);
int *attribList = (int*) NULL,
const wxPalette& palette = wxNullPalette );
- ~wxGLCanvas();
+ virtual ~wxGLCanvas();
void SetCurrent();
void SetColour(const wxChar *colour);
wxGnomePrintDialog( wxWindow *parent,
wxPrintDialogData* data = NULL );
wxGnomePrintDialog( wxWindow *parent, wxPrintData* data);
- ~wxGnomePrintDialog();
+ virtual ~wxGnomePrintDialog();
wxPrintData& GetPrintData()
{ return m_printDialogData.GetPrintData(); }
public:
wxGnomePageSetupDialog( wxWindow *parent,
wxPageSetupDialogData* data = NULL );
- ~wxGnomePageSetupDialog();
+ virtual ~wxGnomePageSetupDialog();
virtual wxPageSetupDialogData& GetPageSetupDialogData();
{
public:
wxGnomePrintDC( wxGnomePrinter *printer );
- ~wxGnomePrintDC();
+ virtual ~wxGnomePrintDC();
bool Ok() const;
(void)Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create( wxWindow *parent,
wxWindowID id,
const wxString& title,
public:
wxMDIClientWindow();
wxMDIClientWindow( wxMDIParentFrame *parent, long style = 0 );
- ~wxMDIClientWindow();
+ virtual ~wxMDIClientWindow();
virtual bool CreateClient( wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL );
private:
const wxString& help = wxEmptyString,
wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
- ~wxMenuItem();
+ virtual ~wxMenuItem();
// implement base class virtuals
virtual void SetText( const wxString& str );
const wxString& caption = wxMessageBoxCaptionStr,
long style = wxOK|wxCENTRE,
const wxPoint& pos = wxDefaultPosition);
- ~wxMessageDialog();
+ virtual ~wxMessageDialog();
int ShowModal();
virtual bool Show( bool WXUNUSED(show) = true ) { return false; };
wxPen() { }
wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
- ~wxPen();
+ virtual ~wxPen();
bool Ok() const { return m_refData != NULL; }
Union(bmp, transColour, tolerance);
}
- ~wxRegion();
+ virtual ~wxRegion();
bool Ok() const { return m_refData != NULL; }
long style = wxSB_HORIZONTAL,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxScrollBarNameStr );
- ~wxScrollBar();
+ virtual ~wxScrollBar();
int GetThumbPosition() const;
int GetThumbSize() const;
int GetPageSize() const;
const wxValidator& validator = wxDefaultValidator,
const wxString &name = wxTextCtrlNameStr);
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent,
wxWindowID id,
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id)
{ Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start( int millisecs = -1, bool oneShot = FALSE );
virtual void Stop();
wxMask( const wxBitmap& bitmap, int paletteIndex );
#endif // wxUSE_PALETTE
wxMask( const wxBitmap& bitmap );
- ~wxMask();
+ virtual ~wxMask();
bool Create( const wxBitmap& bitmap, const wxColour& colour );
#if wxUSE_PALETTE
wxBitmap( char **bits ) { (void)CreateFromXpm((const char **)bits); }
wxBitmap( const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_XPM );
wxBitmap( const wxImage& image, int depth = -1 ) { (void)CreateFromImage(image, depth); }
- ~wxBitmap();
+ virtual ~wxBitmap();
bool operator == ( const wxBitmap& bmp ) const;
bool operator != ( const wxBitmap& bmp ) const;
bool Ok() const;
wxBrush( const wxColour &colour, int style = wxSOLID );
wxBrush( const wxBitmap &stippleBitmap );
- ~wxBrush();
+ virtual ~wxBrush();
bool Ok() const { return m_refData != NULL; }
Create(parent, id, pos, size, choices, style, validator, name);
}
- ~wxChoice();
+ virtual ~wxChoice();
bool Create( wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize,
{
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
wxColour() { }
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
- ~wxColour();
+ virtual ~wxColour();
virtual bool FromString(const wxChar *str);
Create(parent, id, value, pos, size, choices, style, validator, name);
}
- ~wxComboBox();
+ virtual ~wxComboBox();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
wxCursor( const char bits[], int width, int height,
int hotSpotX=-1, int hotSpotY=-1,
const char maskBits[] = NULL, const wxColour *fg = NULL, const wxColour *bg = NULL );
- ~wxCursor();
+ virtual ~wxCursor();
bool operator == ( const wxCursor& cursor ) const;
bool operator != ( const wxCursor& cursor ) const;
bool Ok() const;
wxBitmapDataObject(const wxBitmap& bitmap);
// destr
- ~wxBitmapDataObject();
+ virtual ~wxBitmapDataObject();
// override base class virtual to update PNG data too
virtual void SetBitmap(const wxBitmap& bitmap);
{
public:
wxDC();
- ~wxDC() { }
+ virtual ~wxDC() { }
#if wxUSE_PALETTE
void SetColourMap( const wxPalette& palette ) { SetPalette(palette); };
public:
wxMemoryDC();
wxMemoryDC( wxDC *dc ); // Create compatible DC
- ~wxMemoryDC();
+ virtual ~wxMemoryDC();
virtual void SelectObject( const wxBitmap& bitmap );
void DoGetSize( int *width, int *height ) const;
const wxSize &size = wxDefaultSize,
long style = wxDEFAULT_DIALOG_STYLE,
const wxString &name = wxDialogNameStr );
- ~wxDialog() {}
+ virtual ~wxDialog() {}
void OnApply( wxCommandEvent &event );
void OnCancel( wxCommandEvent &event );
// wxGTK-specific
bool Create(const wxString& fontname);
- ~wxFont();
+ virtual ~wxFont();
// implement base class pure virtuals
virtual int GetPointSize() const;
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */
);
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
void SetColour(const wxChar *colour);
int *attribList = (int*) NULL,
const wxPalette& palette = wxNullPalette );
- ~wxGLCanvas();
+ virtual ~wxGLCanvas();
void SetCurrent();
void SetColour(const wxChar *colour);
(void)Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create( wxWindow *parent,
wxWindowID id,
const wxString& title,
public:
wxMDIClientWindow();
wxMDIClientWindow( wxMDIParentFrame *parent, long style = 0 );
- ~wxMDIClientWindow();
+ virtual ~wxMDIClientWindow();
virtual bool CreateClient( wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL );
private:
const wxString& help = wxEmptyString,
wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
- ~wxMenuItem();
+ virtual ~wxMenuItem();
// implement base class virtuals
virtual void SetText( const wxString& str );
const wxString& caption = wxMessageBoxCaptionStr,
long style = wxOK|wxCENTRE,
const wxPoint& pos = wxDefaultPosition);
- ~wxMessageDialog();
+ virtual ~wxMessageDialog();
int ShowModal();
virtual bool Show( bool WXUNUSED(show) = true ) { return false; };
wxPen() { }
wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
- ~wxPen();
+ virtual ~wxPen();
bool Ok() const { return m_refData != NULL; }
Union(bmp, transColour, tolerance);
}
- ~wxRegion();
+ virtual ~wxRegion();
bool Ok() const { return m_refData != NULL; }
long style = wxSB_HORIZONTAL,
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxScrollBarNameStr );
- ~wxScrollBar();
+ virtual ~wxScrollBar();
int GetThumbPosition() const;
int GetThumbSize() const;
int GetPageSize() const;
const wxValidator& validator = wxDefaultValidator,
const wxString &name = wxTextCtrlNameStr);
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent,
wxWindowID id,
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id)
{ Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start( int millisecs = -1, bool oneShot = FALSE );
virtual void Stop();
wxHashTable(int the_key_type = wxKEY_INTEGER,
int size = wxHASH_SIZE_DEFAULT);
- ~wxHashTable();
+ virtual ~wxHashTable();
// copy ctor and assignment operator
wxHashTable(const wxHashTable& table) : wxObject()
size_t size = wxHASH_SIZE_DEFAULT) \
{ Create(keyType, size); } \
\
- ~hashclass() { Destroy(); } \
+ virtual ~hashclass() { Destroy(); } \
\
void Put(long key, long val, eltype *data) { DoPut(key, val, data); } \
void Put(long key, eltype *data) { DoPut(key, key, data); } \
{
public:
wxHtmlSearchEngine() : wxObject() {}
- ~wxHtmlSearchEngine() {}
+ virtual ~wxHtmlSearchEngine() {}
// Sets the keyword we will be searching for
virtual void LookFor(const wxString& keyword, bool case_sensitive, bool whole_words_only);
public:
wxHtmlHelpData();
- ~wxHtmlHelpData();
+ virtual ~wxHtmlHelpData();
// Sets directory where temporary files are stored.
// These temp files are index & contents file in binary (much faster to read)
wxHtmlHelpDialog(wxWindow* parent, wxWindowID wxWindowID,
const wxString& title = wxEmptyString,
int style = wxHF_DEFAULT_STYLE, wxHtmlHelpData* data = NULL);
- ~wxHtmlHelpDialog();
+ virtual ~wxHtmlHelpDialog();
bool Create(wxWindow* parent, wxWindowID id, const wxString& title = wxEmptyString,
int style = wxHF_DEFAULT_STYLE);
int style = wxHF_DEFAULT_STYLE, wxHtmlHelpData* data = NULL);
bool Create(wxWindow* parent, wxWindowID id, const wxString& title = wxEmptyString,
int style = wxHF_DEFAULT_STYLE);
- ~wxHtmlHelpFrame();
+ virtual ~wxHtmlHelpFrame();
/// Returns the data associated with the window.
wxHtmlHelpData* GetData() { return m_Data; }
const wxSize& size = wxDefaultSize,
int style = wxTAB_TRAVERSAL|wxNO_BORDER,
int helpStyle = wxHF_DEFAULT_STYLE);
- ~wxHtmlHelpWindow();
+ virtual ~wxHtmlHelpWindow();
wxHtmlHelpData* GetData() { return m_Data; }
wxHtmlHelpController* GetController() const { return m_helpController; }
{
public:
wxHtmlContainerCell(wxHtmlContainerCell *parent);
- ~wxHtmlContainerCell();
+ virtual ~wxHtmlContainerCell();
virtual void Layout(int w);
virtual void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2,
// it's width according to parent container's width
// (w is percent of parent's width)
wxHtmlWidgetCell(wxWindow *wnd, int w = 0);
- ~wxHtmlWidgetCell() { m_Wnd->Destroy(); }
+ virtual ~wxHtmlWidgetCell() { m_Wnd->Destroy(); }
virtual void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2,
wxHtmlRenderingInfo& info);
virtual void DrawInvisible(wxDC& dc, int x, int y,
public:
wxHtmlTagsCache() : wxObject() {m_CacheSize = 0; m_Cache = NULL;}
wxHtmlTagsCache(const wxString& source);
- ~wxHtmlTagsCache() {free(m_Cache);}
+ virtual ~wxHtmlTagsCache() {free(m_Cache);}
// Finds parameters for tag starting at at and fills the variables
void QueryTag(int at, int* end1, int* end2);
wxHtmlEntitiesParser *entParser);
friend class wxHtmlParser;
public:
- ~wxHtmlTag();
+ virtual ~wxHtmlTag();
wxHtmlTag *GetParent() const {return m_Parent;}
wxHtmlTag *GetFirstSibling() const;
Init();
Create(parent, id, pos, size, style, name);
}
- ~wxHtmlWindow();
+ virtual ~wxHtmlWindow();
bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
{
public:
wxHtmlDCRenderer();
- ~wxHtmlDCRenderer();
+ virtual ~wxHtmlDCRenderer();
// Following 3 methods *must* be called before any call to Render:
{
public:
wxHtmlPrintout(const wxString& title = wxT("Printout"));
- ~wxHtmlPrintout();
+ virtual ~wxHtmlPrintout();
void SetHtmlText(const wxString& html, const wxString &basepath = wxEmptyString, bool isdir = true);
// prepares the class for printing this html document.
{
public:
wxHtmlEasyPrinting(const wxString& name = wxT("Printing"), wxWindow *parentWindow = NULL);
- ~wxHtmlEasyPrinting();
+ virtual ~wxHtmlEasyPrinting();
bool PreviewFile(const wxString &htmlfile);
bool PreviewText(const wxString &htmltext, const wxString& basepath = wxEmptyString);
public:
wxHtmlWinParser(wxHtmlWindowInterface *wndIface = NULL);
- ~wxHtmlWinParser();
+ virtual ~wxHtmlWinParser();
virtual void InitParser(const wxString& source);
virtual void DoneParser();
wxConnectionBase(wxChar *buffer, int size); // use external buffer
wxConnectionBase(); // use internal, adaptive buffer
wxConnectionBase(const wxConnectionBase& copy);
- ~wxConnectionBase(void);
+ virtual ~wxConnectionBase(void);
void SetConnected( bool c ) { m_connected = c; }
bool GetConnected() { return m_connected; }
// note that default copy ctor and assignment operators are ok
- ~wxIndividualLayoutConstraint(){}
+ virtual ~wxIndividualLayoutConstraint(){}
void Set(wxRelationship rel, wxWindowBase *otherW, wxEdge otherE, int val = 0, int marg = wxLAYOUT_DEFAULT_MARGIN);
// note that default copy ctor and assignment operators are ok
- ~wxLayoutConstraints(){}
+ virtual ~wxLayoutConstraints(){}
bool SatisfyConstraints(wxWindowBase *win, int *noChanges);
bool AreSatisfied() const
wxAcceleratorTable();
wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]); // Load from array
- ~wxAcceleratorTable();
+ virtual ~wxAcceleratorTable();
bool operator == (const wxAcceleratorTable& accel) const
{ return m_refData == accel.m_refData; }
// implementation helper only : construct a mask from a 32 bit memory buffer
wxMask(const wxMemoryBuffer& buf, int width , int height , int bytesPerRow ) ;
- ~wxMask();
+ virtual ~wxMask();
bool Create(const wxBitmap& bitmap, const wxColour& colour);
bool Create(const wxBitmap& bitmap);
// Convert from wxIcon
wxBitmap(const wxIcon& icon) { CopyFromIcon(icon); }
- ~wxBitmap();
+ virtual ~wxBitmap();
wxImage ConvertToImage() const;
wxBrush(short macThemeBrush ) ;
wxBrush(const wxColour& col, int style = wxSOLID);
wxBrush(const wxBitmap& stipple);
- ~wxBrush();
+ virtual ~wxBrush();
virtual void SetColour(const wxColour& col) ;
virtual void SetColour(unsigned char r, unsigned char g, unsigned char b) ;
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
// dtor
- ~wxColour();
+ virtual ~wxColour();
// accessors
bool Ok() const {return m_isInit; }
int hotSpotX = 0, int hotSpotY = 0);
wxCursor(int cursor_type);
- ~wxCursor();
+ virtual ~wxCursor();
bool CreateFromXpm(const char **bits) ;
virtual bool Ok() const ;
public:
wxDataObject();
#ifdef __DARWIN__
- ~wxDataObject() { }
+ virtual ~wxDataObject() { }
#endif
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
wxBitmapDataObject(const wxBitmap& bitmap);
// destr
- ~wxBitmapDataObject();
+ virtual ~wxBitmapDataObject();
// override base class virtual to update PNG data too
virtual void SetBitmap(const wxBitmap& bitmap);
public:
wxDC();
- ~wxDC();
+ virtual ~wxDC();
// implement base class pure virtuals
// ----------------------------------
// Create a DC corresponding to a canvas
wxWindowDC(wxWindow *win);
- ~wxWindowDC(void);
+ virtual ~wxWindowDC(void);
protected :
virtual void DoGetSize( int *width, int *height ) const;
wxWindow *m_window;
// Create a DC corresponding to a canvas
wxClientDC(wxWindow *win);
- ~wxClientDC(void);
+ virtual ~wxClientDC(void);
protected:
virtual void DoGetSize( int *width, int *height ) const;
// Create a DC corresponding to a canvas
wxPaintDC(wxWindow *win);
- ~wxPaintDC(void);
+ virtual ~wxPaintDC(void);
protected:
virtual void DoGetSize( int *width, int *height ) const;
public:
wxMemoryDC(void);
wxMemoryDC( wxDC *dc ); // Create compatible DC
- ~wxMemoryDC(void);
+ virtual ~wxMemoryDC(void);
virtual void SelectObject( const wxBitmap& bitmap );
wxBitmap GetSelectedObject() { return m_selected ; }
// Create a printer DC
wxPrinterDC(const wxPrintData& printdata );
- ~wxPrinterDC();
+ virtual ~wxPrinterDC();
virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
virtual void EndDoc(void) ;
public:
// Create a DC representing the whole screen
wxScreenDC();
- ~wxScreenDC();
+ virtual ~wxScreenDC();
// Compatibility with X's requirements for
// drawing on top of all windows
long style = wxDEFAULT_DIALOG_STYLE,
const wxString& name = wxDialogNameStr);
- ~wxDialog();
+ virtual ~wxDialog();
// virtual bool Destroy();
virtual bool Show(bool show = true);
const wxCursor &cursorMove = wxNullCursor,
const wxCursor &cursorStop = wxNullCursor);
- ~wxDropSource();
+ virtual ~wxDropSource();
// do it (call this in response to a mouse button press, for example)
// params: if bAllowMove is false, data can be only copied
this->Create(parent, id, title, size, edge, name);
}
- ~wxDrawerWindow();
+ virtual ~wxDrawerWindow();
// Create a drawer window.
// If parent is NULL, create as a tool window.
public:
wxFontDialog();
wxFontDialog(wxWindow *parent, const wxFontData& data);
- ~wxFontDialog();
+ virtual ~wxFontDialog();
bool Create(wxWindow *parent, const wxFontData& data);
public:
wxFontDialog();
wxFontDialog(wxWindow *parent, const wxFontData& data);
- ~wxFontDialog();
+ virtual ~wxFontDialog();
bool Create(wxWindow *parent, const wxFontData& data);
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */
);
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
void Update(); // must be called after window drag/grows/zoom or clut change
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0,
const wxString& name = wxT("GLCanvas"), int *attribList = 0, const wxPalette& palette = wxNullPalette );
- ~wxGLCanvas();
+ virtual ~wxGLCanvas();
bool Create(wxWindow *parent, const wxGLContext *shared, wxWindowID id,
const wxPoint& pos, const wxSize& size, long style, const wxString& name,
public:
wxXXXXHelpController();
- ~wxXXXXHelpController();
+ virtual ~wxXXXXHelpController();
// Must call this to set the filename and server name
virtual bool Initialize(const wxString& file);
{
LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ICON);
}
- ~wxIcon();
+ virtual ~wxIcon();
bool LoadFile(const wxString& name, wxBitmapType flags /* = wxBITMAP_TYPE_ICON_RESOURCE */ ,
int desiredWidth /* = -1 */ , int desiredHeight = -1);
public:
wxImageList() { m_width = m_height = 0; }
wxImageList( int width, int height, bool mask = true, int initialCount = 1 );
- ~wxImageList();
+ virtual ~wxImageList();
bool Create( int width, int height, bool mask = true, int initialCount = 1 );
bool Create();
{
Create(parent, id, pos, size, style, validator, name);
}
- ~wxListCtrl();
+ virtual ~wxListCtrl();
bool Create(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListCtrlNameStr);
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIChildFrame();
+ virtual ~wxMDIChildFrame();
bool Create(wxMDIParentFrame *parent,
wxWindowID id,
CreateClient(parent, style);
}
- ~wxMDIClientWindow();
+ virtual ~wxMDIClientWindow();
// Note: this is virtual, to allow overridden behaviour.
virtual bool CreateClient(wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL);
DECLARE_DYNAMIC_CLASS(wxMetafile)
public:
wxMetafile(const wxString& file = wxEmptyString);
- ~wxMetafile(void);
+ virtual ~wxMetafile(void);
// After this is called, the metafile cannot be used for anything
// since it is now owned by the clipboard.
int width = 0, int height = 0,
const wxString& description = wxEmptyString);
- ~wxMetafileDC(void);
+ virtual ~wxMetafileDC(void);
// Should be called at end of drawing
virtual wxMetafile *Close(void);
Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT , name);
}
- ~wxMiniFrame() {}
+ virtual ~wxMiniFrame() {}
protected:
};
long style = 0,
const wxString& name = wxNotebookNameStr);
// dtor
- ~wxNotebook();
+ virtual ~wxNotebook();
// accessors
// ---------
friend class WXDLLEXPORT wxPalette;
public:
wxPaletteRefData();
- ~wxPaletteRefData();
+ virtual ~wxPaletteRefData();
protected:
wxColour* m_palette;
wxInt32 m_count ;
wxPalette();
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- ~wxPalette();
+ virtual ~wxPalette();
bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;
public:
wxPenRefData();
wxPenRefData(const wxPenRefData& data);
- ~wxPenRefData();
+ virtual ~wxPenRefData();
wxPenRefData& operator=(const wxPenRefData& data);
wxPen();
wxPen(const wxColour& col, int width = 1, int style = wxSOLID);
wxPen(const wxBitmap& stipple, int width);
- ~wxPen();
+ virtual ~wxPen();
inline bool operator == (const wxPen& pen) const { return m_refData == pen.m_refData; }
inline bool operator != (const wxPen& pen) const { return m_refData != pen.m_refData; }
wxMacPrintDialog();
wxMacPrintDialog(wxWindow *parent, wxPrintDialogData* data = NULL);
wxMacPrintDialog(wxWindow *parent, wxPrintData* data );
- ~wxMacPrintDialog();
+ virtual ~wxMacPrintDialog();
bool Create(wxWindow *parent, wxPrintDialogData* data = NULL);
virtual int ShowModal();
{
public:
wxMacPageSetupDialog(wxWindow *parent, wxPageSetupDialogData *data = NULL);
- ~wxMacPageSetupDialog();
+ virtual ~wxMacPageSetupDialog();
virtual wxPageSetupData& GetPageSetupDialogData();
{
public:
wxMacDataBrowserListControl( wxListBox *peer, const wxPoint& pos, const wxSize& size, long style );
- ~wxMacDataBrowserListControl();
+ virtual ~wxMacDataBrowserListControl();
// create a list item (can be a subclass of wxMacListBoxItem)
wxMacCGContext( CGrafPtr port );
wxMacCGContext( CGContextRef cgcontext );
wxMacCGContext();
- ~wxMacCGContext();
+ virtual ~wxMacCGContext();
virtual void Clip( const wxRegion ®ion );
virtual void StrokePath( const wxGraphicPath *p );
public:
wxBitmapRefData(int width , int height , int depth);
wxBitmapRefData();
- ~wxBitmapRefData();
+ virtual ~wxBitmapRefData();
void Free();
bool Ok() const { return m_ok; }
Create(parent, id, title, pos, size, choices,
majorDim, style, val, name);
}
- ~wxRadioBox();
+ virtual ~wxRadioBox();
bool Create(wxWindow *parent, wxWindowID id, const wxString& title,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
int n = 0, const wxString choices[] = NULL,
{
Create(parent, id, label, pos, size, style, validator, name);
}
- ~wxRadioButton();
+ virtual ~wxRadioButton();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& label,
Union(bmp, transColour, tolerance);
}
- ~wxRegion();
+ virtual ~wxRegion();
//# Modify region
// Clear current region
wxRegionIterator();
wxRegionIterator(const wxRegion& region);
wxRegionIterator(const wxRegionIterator& iterator);
- ~wxRegionIterator();
+ virtual ~wxRegionIterator();
wxRegionIterator& operator=(const wxRegionIterator& iterator);
public:
inline wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
- ~wxScrollBar();
+ virtual ~wxScrollBar();
inline wxScrollBar(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
Create(parent, id, value, minValue, maxValue, pos, size, style, validator, name);
}
- ~wxSlider();
+ virtual ~wxSlider();
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
wxSound();
wxSound(const wxString& fileName, bool isResource = FALSE);
wxSound(int size, const wxByte* data);
- ~wxSound();
+ virtual ~wxSound();
public:
bool Create(const wxString& fileName, bool isResource = FALSE);
long style = 0,
const wxString& name = wxPanelNameStr);
- ~wxStatusBarMac();
+ virtual ~wxStatusBarMac();
bool Create(wxWindow *parent, wxWindowID id,
long style ,
{
Create(parent, id, pos, size, style, name);
}
- ~wxTabCtrl();
+ virtual ~wxTabCtrl();
// Accessors
Create(parent, id, value, pos, size, style, validator, name);
}
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent,
wxWindowID id,
public:
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id) { Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start(int milliseconds = -1,
bool one_shot = FALSE); // Start timer
Init();
Create(parent, id, pos, size, style, name);
}
- ~wxToolBar();
+ virtual ~wxToolBar();
bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxNO_BORDER|wxTB_HORIZONTAL,
{
Create(parent, id, pos, size, style, validator, name);
}
- ~wxTreeCtrl();
+ virtual ~wxTreeCtrl();
bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
wxAcceleratorTable();
wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]); // Load from array
- ~wxAcceleratorTable();
+ virtual ~wxAcceleratorTable();
bool operator == (const wxAcceleratorTable& accel) const
{ return m_refData == accel.m_refData; }
// Construct a mask from a mono bitmap (copies the bitmap).
wxMask(const wxBitmap& bitmap);
- ~wxMask();
+ virtual ~wxMask();
bool Create(const wxBitmap& bitmap, const wxColour& colour);
bool Create(const wxBitmap& bitmap, int paletteIndex);
friend class WXDLLEXPORT wxCursor;
public:
wxBitmapRefData();
- ~wxBitmapRefData();
+ virtual ~wxBitmapRefData();
public:
int m_width;
// Convert from wxImage:
wxBitmap(const wxImage& image, int depth = -1);
- ~wxBitmap();
+ virtual ~wxBitmap();
wxImage ConvertToImage() const;
wxBrush(short macThemeBrush ) ;
wxBrush(const wxColour& col, int style = wxSOLID);
wxBrush(const wxBitmap& stipple);
- ~wxBrush();
+ virtual ~wxBrush();
virtual void SetColour(const wxColour& col) ;
virtual void SetColour(unsigned char r, unsigned char g, unsigned char b) ;
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
wxColour& operator = ( const wxColour& col );
// dtor
- ~wxColour();
+ virtual ~wxColour();
// accessors
bool Ok() const {return m_isInit; }
friend class WXDLLEXPORT wxCursor;
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
protected:
WXHCURSOR m_hCursor;
int hotSpotX = 0, int hotSpotY = 0);
wxCursor(int cursor_type);
- ~wxCursor();
+ virtual ~wxCursor();
bool CreateFromXpm(const char **bits) ;
virtual bool Ok() const { return (m_refData != NULL && ( M_CURSORDATA->m_hCursor != NULL || M_CURSORDATA->m_themeCursor != -1 ) ) ; }
public:
wxDataObject();
#ifdef __DARWIN__
- ~wxDataObject() { }
+ virtual ~wxDataObject() { }
#endif
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
wxBitmapDataObject(const wxBitmap& bitmap);
// destr
- ~wxBitmapDataObject();
+ virtual ~wxBitmapDataObject();
// override base class virtual to update PNG data too
virtual void SetBitmap(const wxBitmap& bitmap);
public:
wxDC();
- ~wxDC();
+ virtual ~wxDC();
// implement base class pure virtuals
// Create a DC corresponding to a canvas
wxWindowDC(wxWindow *win);
- ~wxWindowDC(void);
+ virtual ~wxWindowDC(void);
virtual void DoGetSize( int *width, int *height ) const;
protected :
wxWindow *m_window;
// Create a DC corresponding to a canvas
wxClientDC(wxWindow *win);
- ~wxClientDC(void);
+ virtual ~wxClientDC(void);
virtual void DoGetSize( int *width, int *height ) const;
};
// Create a DC corresponding to a canvas
wxPaintDC(wxWindow *win);
- ~wxPaintDC(void);
+ virtual ~wxPaintDC(void);
virtual void DoGetSize( int *width, int *height ) const;
};
public:
wxMemoryDC(void);
wxMemoryDC( wxDC *dc ); // Create compatible DC
- ~wxMemoryDC(void);
+ virtual ~wxMemoryDC(void);
virtual void SelectObject( const wxBitmap& bitmap );
virtual void DoGetSize( int *width, int *height ) const;
wxBitmap GetSelectedObject() { return m_selected ; }
#if wxUSE_PRINTING_ARCHITECTURE
// Create a printer DC
wxPrinterDC(const wxPrintData& printdata );
- ~wxPrinterDC();
+ virtual ~wxPrinterDC();
virtual bool StartDoc( const wxString& WXUNUSED(message) ) ;
virtual void EndDoc(void) ;
public:
// Create a DC representing the whole screen
wxScreenDC();
- ~wxScreenDC();
+ virtual ~wxScreenDC();
// Compatibility with X's requirements for
// drawing on top of all windows
long style = wxDEFAULT_DIALOG_STYLE,
const wxString& name = wxDialogNameStr);
- ~wxDialog();
+ virtual ~wxDialog();
// virtual bool Destroy();
virtual bool Show(bool show = true);
const wxCursor &cursorMove = wxNullCursor,
const wxCursor &cursorStop = wxNullCursor);
- ~wxDropSource();
+ virtual ~wxDropSource();
// do it (call this in response to a mouse button press, for example)
// params: if bAllowMove is false, data can be only copied
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */
);
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
void Update(); // must be called after window drag/grows/zoom or clut change
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0,
const wxString& name = wxT("GLCanvas"), int *attribList = 0, const wxPalette& palette = wxNullPalette );
- ~wxGLCanvas();
+ virtual ~wxGLCanvas();
bool Create(wxWindow *parent, const wxGLContext *shared, wxWindowID id,
const wxPoint& pos, const wxSize& size, long style, const wxString& name,
public:
wxXXXXHelpController();
- ~wxXXXXHelpController();
+ virtual ~wxXXXXHelpController();
// Must call this to set the filename and server name
virtual bool Initialize(const wxString& file);
{
LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ICON);
}
- ~wxIcon();
+ virtual ~wxIcon();
bool LoadFile(const wxString& name, wxBitmapType flags /* = wxBITMAP_TYPE_ICON_RESOURCE */ ,
int desiredWidth /* = -1 */ , int desiredHeight = -1);
{
Create(width, height, mask, initialCount);
}
- ~wxImageList();
+ virtual ~wxImageList();
// Attributes
{
Create(parent, id, pos, size, style, validator, name);
}
- ~wxListCtrl();
+ virtual ~wxListCtrl();
bool Create(wxWindow *parent, wxWindowID id = -1, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxLC_ICON, const wxValidator& validator = wxDefaultValidator, const wxString& name = wxListCtrlNameStr);
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIChildFrame();
+ virtual ~wxMDIChildFrame();
bool Create(wxMDIParentFrame *parent,
wxWindowID id,
CreateClient(parent, style);
}
- ~wxMDIClientWindow();
+ virtual ~wxMDIClientWindow();
// Note: this is virtual, to allow overridden behaviour.
virtual bool CreateClient(wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL);
friend class WXDLLEXPORT wxMetafile;
public:
wxMetafileRefData(void);
- ~wxMetafileRefData(void);
+ virtual ~wxMetafileRefData(void);
public:
WXHMETAFILE m_metafile;
DECLARE_DYNAMIC_CLASS(wxMetafile)
public:
wxMetafile(const wxString& file = wxEmptyString);
- ~wxMetafile(void);
+ virtual ~wxMetafile(void);
// After this is called, the metafile cannot be used for anything
// since it is now owned by the clipboard.
int width = 0, int height = 0,
const wxString& description = wxEmptyString);
- ~wxMetafileDC(void);
+ virtual ~wxMetafileDC(void);
// Should be called at end of drawing
virtual wxMetafile *Close(void);
Create(parent, id, title, pos, size, style | wxFRAME_TOOL_WINDOW | wxFRAME_FLOAT_ON_PARENT , name);
}
- ~wxMiniFrame() {}
+ virtual ~wxMiniFrame() {}
protected:
};
long style = 0,
const wxString& name = wxNotebookNameStr);
// dtor
- ~wxNotebook();
+ virtual ~wxNotebook();
// accessors
// ---------
friend class WXDLLEXPORT wxPalette;
public:
wxPaletteRefData();
- ~wxPaletteRefData();
+ virtual ~wxPaletteRefData();
protected:
wxColour* m_palette;
wxInt32 m_count ;
wxPalette();
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- ~wxPalette();
+ virtual ~wxPalette();
bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;
public:
wxPenRefData();
wxPenRefData(const wxPenRefData& data);
- ~wxPenRefData();
+ virtual ~wxPenRefData();
wxPenRefData& operator=(const wxPenRefData& data);
wxPen();
wxPen(const wxColour& col, int width = 1, int style = wxSOLID);
wxPen(const wxBitmap& stipple, int width);
- ~wxPen();
+ virtual ~wxPen();
inline bool operator == (const wxPen& pen) const { return m_refData == pen.m_refData; }
inline bool operator != (const wxPen& pen) const { return m_refData != pen.m_refData; }
wxPrintDialog();
wxPrintDialog(wxWindow *parent, wxPrintDialogData* data = NULL);
wxPrintDialog(wxWindow *parent, wxPrintData* data );
- ~wxPrintDialog();
+ virtual ~wxPrintDialog();
bool Create(wxWindow *parent, wxPrintDialogData* data = NULL);
virtual int ShowModal();
public:
wxPageSetupDialog();
wxPageSetupDialog(wxWindow *parent, wxPageSetupData *data = NULL);
- ~wxPageSetupDialog();
+ virtual ~wxPageSetupDialog();
bool Create(wxWindow *parent, wxPageSetupData *data = NULL);
virtual int ShowModal();
Create(parent, id, title, pos, size, choices,
majorDim, style, val, name);
}
- ~wxRadioBox();
+ virtual ~wxRadioBox();
bool Create(wxWindow *parent, wxWindowID id, const wxString& title,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
int n = 0, const wxString choices[] = NULL,
Union(bmp, transColour, tolerance);
}
- ~wxRegion();
+ virtual ~wxRegion();
//# Modify region
// Clear current region
wxRegionIterator();
wxRegionIterator(const wxRegion& region);
wxRegionIterator(const wxRegionIterator& iterator);
- ~wxRegionIterator();
+ virtual ~wxRegionIterator();
wxRegionIterator& operator=(const wxRegionIterator& iterator);
public:
inline wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
- ~wxScrollBar();
+ virtual ~wxScrollBar();
inline wxScrollBar(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
Create(parent, id, value, minValue, maxValue, pos, size, style, validator, name);
}
- ~wxSlider();
+ virtual ~wxSlider();
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
wxSound();
wxSound(const wxString& fileName, bool isResource = FALSE);
wxSound(int size, const wxByte* data);
- ~wxSound();
+ virtual ~wxSound();
public:
bool Create(const wxString& fileName, bool isResource = FALSE);
Create(parent, id, style, name);
}
- ~wxStatusBarMac();
+ virtual ~wxStatusBarMac();
bool Create(wxWindow *parent, wxWindowID id,
long style ,
{
Create(parent, id, pos, size, style, name);
}
- ~wxTabCtrl();
+ virtual ~wxTabCtrl();
// Accessors
// creation
// --------
wxTextCtrl() { Init(); }
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
wxTextCtrl(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
const wxPoint& pos = wxDefaultPosition,
public:
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id) { Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start(int milliseconds = -1,
bool one_shot = FALSE); // Start timer
Init();
Create(parent, id, pos, size, style, name);
}
- ~wxToolBar();
+ virtual ~wxToolBar();
bool Create(wxWindow *parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxNO_BORDER|wxTB_HORIZONTAL,
{
Create(parent, id, pos, size, style, validator, name);
}
- ~wxTreeCtrl();
+ virtual ~wxTreeCtrl();
bool Create(wxWindow *parent, wxWindowID id = wxID_ANY,
const wxPoint& pos = wxDefaultPosition,
{
public:
wxStandardPathsCF();
- ~wxStandardPathsCF();
+ virtual ~wxStandardPathsCF();
// wxMac specific: allow user to specify a different bundle
wxStandardPathsCF(wxCFBundleRef bundle);
{ Create(parent, winid, location, pos, size, style,
szBackend, validator, name); }
- ~wxMediaCtrl();
+ virtual ~wxMediaCtrl();
bool Create(wxWindow* parent, wxWindowID winid,
const wxString& fileName = wxEmptyString,
{
public:
wxApp();
- ~wxApp();
+ virtual ~wxApp();
/* override for altering the way wxGTK intializes the GUI
* (palette/visual/colorcube). under wxMSW, OnInitGui() does nothing by
wxMask(const wxBitmap& bitmap, const wxColour& colour);
wxMask(const wxBitmap& bitmap, int paletteIndex);
wxMask(const wxBitmap& bitmap);
- ~wxMask();
+ virtual ~wxMask();
bool Create(const wxBitmap& bitmap, const wxColour& colour);
bool Create(const wxBitmap& bitmap, int paletteIndex);
wxBitmap(char **bits) { CreateFromXpm((const char **)bits); }
wxBitmap(const wxString &filename, wxBitmapType type = wxBITMAP_TYPE_RESOURCE);
wxBitmap(const wxImage& image, int depth = -1);
- ~wxBitmap() {}
+ virtual ~wxBitmap() {}
bool operator == (const wxBitmap& bmp) const;
bool operator != (const wxBitmap& bmp) const;
bool Ok() const;
wxBrush() {}
wxBrush(const wxColour &colour, int style = wxSOLID);
wxBrush(const wxBitmap &stippleBitmap);
- ~wxBrush() {}
+ virtual ~wxBrush() {}
bool operator == (const wxBrush& brush) const;
bool operator != (const wxBrush& brush) const;
bool Ok() const;
{
public:
wxClipboard() {}
- ~wxClipboard() {}
+ virtual ~wxClipboard() {}
// open the clipboard before SetData() and GetData()
virtual bool Open() {}
wxCursor(const wxString& name,
long flags = wxBITMAP_TYPE_CUR_RESOURCE,
int hotSpotX = 0, int hotSpotY = 0);
- ~wxCursor();
+ virtual ~wxCursor();
bool operator == (const wxCursor& cursor) const;
bool operator != (const wxCursor& cursor) const;
bool Ok() const;
public:
wxDC();
- ~wxDC();
+ virtual ~wxDC();
// implement base class pure virtuals
// ----------------------------------
public:
wxMemoryDC();
wxMemoryDC(wxDC *dc); // Create compatible DC
- ~wxMemoryDC();
+ virtual ~wxMemoryDC();
virtual void SelectObject(const wxBitmap& bitmap);
// these get reimplemented for mono-bitmaps to behave
{
public:
wxScreenDC();
- ~wxScreenDC();
+ virtual ~wxScreenDC();
static bool StartDrawingOnTop(wxWindow *WXUNUSED(window)) { return TRUE; }
static bool StartDrawingOnTop(wxRect *WXUNUSED(rect) = NULL) { return TRUE; }
bool Create(const wxNativeFontInfo& fontinfo);
- ~wxFont() {}
+ virtual ~wxFont() {}
// implement base class pure virtuals
virtual int GetPointSize() const;
public:
wxPalette();
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- ~wxPalette();
+ virtual ~wxPalette();
bool operator == (const wxPalette& palette) const;
bool operator != (const wxPalette& palette) const;
virtual bool Ok() const;
wxPen() {}
wxPen(const wxColour &colour, int width = 1, int style = wxSOLID);
wxPen(const wxBitmap& stipple, int width);
- ~wxPen() {}
+ virtual ~wxPen() {}
bool operator == (const wxPen& pen) const;
bool operator != (const wxPen& pen) const;
}
wxRegion();
- ~wxRegion();
+ virtual ~wxRegion();
//# Modify region
// Clear current region
public:
wxRegionIterator(void);
wxRegionIterator(const wxRegion& region);
- ~wxRegionIterator(void);
+ virtual ~wxRegionIterator(void);
void Reset(void) { m_currentNode = NULL; }
void Reset(const wxRegion& region);
wxAcceleratorTable(const wxString& resource); // Load from .rc resource
wxAcceleratorTable(int n, const wxAcceleratorEntry entries[]); // Load from array
- ~wxAcceleratorTable();
+ virtual ~wxAcceleratorTable();
bool operator == (const wxAcceleratorTable& accel) const { return m_refData == accel.m_refData; }
bool operator != (const wxAcceleratorTable& accel) const { return m_refData != accel.m_refData; }
DECLARE_DYNAMIC_CLASS(wxBitmapButton)
public:
wxBitmapButton();
- ~wxBitmapButton();
+ virtual ~wxBitmapButton();
wxBitmapButton(wxWindow *parent, wxWindowID id, const wxBitmap& bitmap,
const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = wxBU_AUTODRAW,
public:
wxChoice();
- ~wxChoice();
+ virtual ~wxChoice();
wxChoice(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
{
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
wxColour& operator = ( const wxColour& col );
// dtor
- ~wxColour();
+ virtual ~wxColour();
// accessors
public:
wxComboBox() { m_inSetSelection = false; }
- ~wxComboBox();
+ virtual ~wxComboBox();
inline wxComboBox(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
#endif
wxCursor(wxStockCursor id);
- ~wxCursor();
+ virtual ~wxCursor();
virtual bool Ok() const;
public:
wxDC();
- ~wxDC() { }
+ virtual ~wxDC() { }
// implement base class pure virtuals
// ----------------------------------
wxWindowDC();
wxWindowDC( wxWindow *win );
- ~wxWindowDC();
+ virtual ~wxWindowDC();
// TODO this function is Motif-only for now - should it go into base class?
void Clear(const wxRect& rect);
wxPaintDC() { }
wxPaintDC(wxWindow* win);
- ~wxPaintDC();
+ virtual ~wxPaintDC();
};
class WXDLLEXPORT wxClientDC: public wxWindowDC
public:
wxMemoryDC();
wxMemoryDC( wxDC *dc ); // Create compatible DC
- ~wxMemoryDC();
+ virtual ~wxMemoryDC();
virtual void SelectObject( const wxBitmap& bitmap );
// Create a printer DC
wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = true, int orientation = wxPORTRAIT);
- ~wxPrinterDC();
+ virtual ~wxPrinterDC();
};
#endif
public:
// Create a DC representing the whole screen
wxScreenDC();
- ~wxScreenDC();
+ virtual ~wxScreenDC();
// Compatibility with X's requirements for
// drawing on top of all windows
long style = wxDEFAULT_DIALOG_STYLE,
const wxString& name = wxDialogNameStr);
- ~wxDialog();
+ virtual ~wxDialog();
virtual bool Destroy();
public:
wxDropTarget();
- ~wxDropTarget();
+ virtual ~wxDropTarget();
virtual void OnEnter() { }
virtual void OnLeave() { }
wxDropSource( wxWindow *win );
wxDropSource( wxDataObject &data, wxWindow *win );
- ~wxDropSource(void);
+ virtual ~wxDropSource(void);
void SetData( wxDataObject &data );
wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ANY);
}
- ~wxIcon();
+ virtual ~wxIcon();
bool LoadFile(const wxString& name, wxBitmapType type,
int desiredWidth, int desiredHeight = -1);
const wxValidator& validator = wxDefaultValidator,
const wxString& name = wxListBoxNameStr);
- ~wxListBox();
+ virtual ~wxListBox();
// implementation of wxControlWithItems
virtual unsigned int GetCount() const;
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIChildFrame();
+ virtual ~wxMDIChildFrame();
bool Create(wxMDIParentFrame *parent,
wxWindowID id,
CreateClient(parent, style);
}
- ~wxMDIClientWindow();
+ virtual ~wxMDIClientWindow();
// Note: this is virtual, to allow overridden behaviour.
virtual bool CreateClient(wxMDIParentFrame *parent, long style = wxVSCROLL | wxHSCROLL);
const wxString& help = wxEmptyString,
wxItemKind kind = wxITEM_NORMAL,
wxMenu *subMenu = (wxMenu *)NULL);
- ~wxMenuItem();
+ virtual ~wxMenuItem();
// accessors (some more are inherited from wxOwnerDrawn or are below)
virtual void SetText(const wxString& label);
Create(parent, id, title, pos, size, style, name);
}
- ~wxMiniFrame() {}
+ virtual ~wxMiniFrame() {}
protected:
};
friend class WXDLLEXPORT wxPalette;
public:
wxPaletteRefData();
- ~wxPaletteRefData();
+ virtual ~wxPaletteRefData();
protected:
wxList m_palettes;
wxPalette();
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- ~wxPalette();
+ virtual ~wxPalette();
bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;
public:
wxPrinter(wxPrintData *data = NULL);
- ~wxPrinter();
+ virtual ~wxPrinter();
virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true);
virtual bool PrintDialog(wxWindow *parent);
public:
wxPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
- ~wxPrintPreview();
+ virtual ~wxPrintPreview();
virtual bool Print(bool interactive);
virtual void DetermineScaling();
majorDim, style, val, name);
}
- ~wxRadioBox();
+ virtual ~wxRadioBox();
bool Create(wxWindow *parent, wxWindowID id, const wxString& title,
const wxPoint& pos = wxDefaultPosition,
DECLARE_DYNAMIC_CLASS(wxRadioButton)
public:
wxRadioButton();
- ~wxRadioButton() { RemoveFromCycle(); }
+ virtual ~wxRadioButton() { RemoveFromCycle(); }
inline wxRadioButton(wxWindow *parent, wxWindowID id,
const wxString& label,
public:
inline wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
- ~wxScrollBar();
+ virtual ~wxScrollBar();
inline wxScrollBar(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
Create(parent, id, value, minValue, maxValue, pos, size, style, validator, name);
}
- ~wxSlider();
+ virtual ~wxSlider();
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
{
Create(parent, id, pos, size, style, name);
}
- ~wxSpinButton();
+ virtual ~wxSpinButton();
bool Create(wxWindow *parent,
wxWindowID id = wxID_ANY,
public:
wxStaticBitmap() { }
- ~wxStaticBitmap();
+ virtual ~wxStaticBitmap();
wxStaticBitmap(wxWindow *parent, wxWindowID id,
const wxBitmap& label,
Create(parent, id, label, pos, size, style, name);
}
- ~wxStaticBox();
+ virtual ~wxStaticBox();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& label,
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id)
{ Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start(int milliseconds = -1, bool oneShot = false);
virtual void Stop();
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
// dtor
- ~wxColour();
+ virtual ~wxColour();
// accessors
public:
wxDCCacheEntry(WXHBITMAP hBitmap, int w, int h, int depth);
wxDCCacheEntry(WXHDC hDC, int depth);
- ~wxDCCacheEntry();
+ virtual ~wxDCCacheEntry();
WXHBITMAP m_bitmap;
WXHDC m_dc;
{
public:
wxDC(WXHDC hDC) { Init(); m_hDC = hDC; }
- ~wxDC();
+ virtual ~wxDC();
// implement base class pure virtuals
// ----------------------------------
public:
wxDDEConnection(wxChar *buffer, int size); // use external buffer
wxDDEConnection(); // use internal buffer
- ~wxDDEConnection(void);
+ virtual ~wxDDEConnection(void);
// Calls that CLIENT can make
virtual bool Execute(const wxChar *data, int size = -1, wxIPCFormat format = wxIPC_TEXT);
public:
wxDDEServer(void);
- ~wxDDEServer(void);
+ virtual ~wxDDEServer(void);
bool Create(const wxString& server_name); // Returns false if can't create server (e.g. port
// number is already in use)
virtual wxConnectionBase *OnAcceptConnection(const wxString& topic);
DECLARE_DYNAMIC_CLASS(wxDDEClient)
public:
wxDDEClient(void);
- ~wxDDEClient(void);
+ virtual ~wxDDEClient(void);
bool ValidHost(const wxString& host);
virtual wxConnectionBase *MakeConnection(const wxString& host, const wxString& server, const wxString& topic);
// Call this to make a connection.
}
#endif
- ~wxDragImage();
+ virtual ~wxDragImage();
// Attributes
////////////////////////////////////////////////////////////////////////////
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */ );
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
int *attribList = 0,
const wxPalette& palette = wxNullPalette);
- ~wxGLCanvas();
+ virtual ~wxGLCanvas();
// Replaces wxWindow::Create functionality, since
// we need to use a different window class
public:
wxWinHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) {}
- ~wxWinHelpController() {}
+ virtual ~wxWinHelpController() {}
// Must call this to set the filename
virtual bool Initialize(const wxString& file);
{
Create(width, height, mask, initialCount);
}
- ~wxImageList();
+ virtual ~wxImageList();
// Attributes
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIChildFrame();
+ virtual ~wxMDIChildFrame();
bool Create(wxMDIParentFrame *parent,
wxWindowID id,
friend class WXDLLEXPORT wxMetafile;
public:
wxMetafileRefData();
- ~wxMetafileRefData();
+ virtual ~wxMetafileRefData();
public:
WXHANDLE m_metafile;
{
public:
wxAutomationObject(WXIDISPATCH* dispatchPtr = NULL);
- ~wxAutomationObject();
+ virtual ~wxAutomationObject();
// Set/get dispatch pointer
inline void SetDispatchPtr(WXIDISPATCH* dispatchPtr) { m_dispatchPtr = dispatchPtr; };
friend class WXDLLEXPORT wxPalette;
public:
wxPaletteRefData(void);
- ~wxPaletteRefData(void);
+ virtual ~wxPaletteRefData(void);
protected:
WXHPALETTE m_hPalette;
};
wxPalette(void);
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- ~wxPalette(void);
+ virtual ~wxPalette(void);
bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;
{
public:
wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
- ~wxScrollBar();
+ virtual ~wxScrollBar();
wxScrollBar(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
{
Create(parent, id, pos, size, style, name);
}
- ~wxTabCtrl();
+ virtual ~wxTabCtrl();
// Accessors
Create(parent, id, value, pos, size, style, validator, name);
}
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int id = wxID_ANY) : wxTimerBase(owner, id)
{ Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start(int milliseconds = -1, bool oneShot = false);
virtual void Stop();
Create(parent, id, value, pos, size, style, validator, name);
}
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
public:
// instantiates this object with an instance of its superclass
wxDynamicObject(wxObject* superClassInstance, const wxDynamicClassInfo *info) ;
- ~wxDynamicObject();
+ virtual ~wxDynamicObject();
void SetProperty (const wxChar *propertyName, const wxxVariant &value);
wxxVariant GetProperty (const wxChar *propertyName) const ;
,const wxAcceleratorEntry vaEntries[]
); // Load from array
- ~wxAcceleratorTable();
+ virtual ~wxAcceleratorTable();
inline bool operator== (const wxAcceleratorTable& rAccel) const
{ return m_refData == rAccel.m_refData; };
public:
wxBrushRefData();
wxBrushRefData(const wxBrushRefData& rData);
- ~wxBrushRefData();
+ virtual ~wxBrushRefData();
protected:
int m_nStyle;
wxBrush();
wxBrush(const wxColour& rCol, int nStyle = wxSOLID);
wxBrush(const wxBitmap& rStipple);
- ~wxBrush();
+ virtual ~wxBrush();
inline bool operator == (const wxBrush& rBrush) const { return m_refData == rBrush.m_refData; }
inline bool operator != (const wxBrush& rBrush) const { return m_refData != rBrush.m_refData; }
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
wxColour&operator = (const wxColour& rCol);
// Dtor
- ~wxColour();
+ virtual ~wxColour();
// Accessors
bool Ok(void) const {return m_bIsInit; }
{
public:
wxCursorRefData();
- ~wxCursorRefData() { Free(); }
+ virtual ~wxCursorRefData() { Free(); }
virtual void Free(void);
bool m_bDestroyCursor;
}; // end of CLASS wxCursorRefData
wxBitmapDataObject(const wxBitmap& bitmap);
// destr
- ~wxBitmapDataObject();
+ virtual ~wxBitmapDataObject();
// override base class virtual to update PNG data too
virtual void SetBitmap(const wxBitmap& bitmap);
wxDCCacheEntry( HPS hPS
,int nDepth
);
- ~wxDCCacheEntry();
+ virtual ~wxDCCacheEntry();
WXHBITMAP m_hBitmap;
HPS m_hPS;
public:
wxDC(void);
- ~wxDC();
+ virtual ~wxDC();
// implement base class pure virtuals
// ----------------------------------
public:
wxWinHelpController();
- ~wxWinHelpController();
+ virtual ~wxWinHelpController();
// Must call this to set the filename and server name
virtual bool Initialize(const wxString& file);
LoadFile(loc.GetFileName(), wxBITMAP_TYPE_ICO);
}
- ~wxIcon();
+ virtual ~wxIcon();
bool LoadFile( const wxString& rName
,long lFlags = wxBITMAP_TYPE_ICO_RESOURCE
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIChildFrame();
+ virtual ~wxMDIChildFrame();
bool Create(wxMDIParentFrame *parent,
wxWindowID id,
friend class WXDLLEXPORT wxMetafile;
public:
wxMetafileRefData(void);
- ~wxMetafileRefData(void);
+ virtual ~wxMetafileRefData(void);
public:
WXHANDLE m_metafile;
DECLARE_DYNAMIC_CLASS(wxMetafile)
public:
wxMetafile(const wxString& file = wxEmptyString);
- ~wxMetafile(void);
+ virtual ~wxMetafile(void);
// After this is called, the metafile cannot be used for anything
// since it is now owned by the clipboard.
// Then don't need to supply them to wxMakeMetaFilePlaceable.
wxMetafileDC(const wxString& file, int xext, int yext, int xorg, int yorg);
- ~wxMetafileDC(void);
+ virtual ~wxMetafileDC(void);
// Should be called at end of drawing
virtual wxMetafile *Close(void);
friend class WXDLLEXPORT wxPalette;
public:
wxPaletteRefData();
- ~wxPaletteRefData();
+ virtual ~wxPaletteRefData();
// protected:
WXHPALETTE m_hPalette;
HPS m_hPS;
,const unsigned char* pGreen
,const unsigned char* pBlue
);
- ~wxPalette();
+ virtual ~wxPalette();
bool Create( int n
,const unsigned char* pRed
public:
wxPenRefData();
wxPenRefData(const wxPenRefData& rData);
- ~wxPenRefData();
+ virtual ~wxPenRefData();
protected:
int m_nWidth;
wxPen( const wxBitmap& rStipple
,int nWidth
);
- ~wxPen();
+ virtual ~wxPen();
inline bool operator == (const wxPen& rPen) const
{ return m_refData == rPen.m_refData; }
public:
wxOS2Printer(wxPrintData *data = NULL);
- ~wxOS2Printer();
+ virtual ~wxOS2Printer();
virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
virtual wxDC* PrintDialog(wxWindow *parent);
public:
wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
- ~wxOS2PrintPreview();
+ virtual ~wxOS2PrintPreview();
virtual bool Print(bool interactive);
virtual void DetermineScaling();
public:
wxOS2Printer(wxPrintDialogData *data = NULL);
- ~wxOS2Printer();
+ virtual ~wxOS2Printer();
virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = true);
virtual wxDC* PrintDialog(wxWindow *parent);
public:
wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintDialogData *data = NULL);
wxOS2PrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting, wxPrintData *data);
- ~wxOS2PrintPreview();
+ virtual ~wxOS2PrintPreview();
virtual bool Print(bool interactive);
virtual void DetermineScaling();
);
}
- ~wxRadioBox();
+ virtual ~wxRadioBox();
bool Create( wxWindow* pParent
,wxWindowID vId
}
wxRegion();
- ~wxRegion();
+ virtual ~wxRegion();
//
// Modify region
public:
wxRegionIterator();
wxRegionIterator(const wxRegion& rRegion);
- ~wxRegionIterator();
+ virtual ~wxRegionIterator();
void Reset(void) { m_lCurrent = 0; }
void Reset(const wxRegion& rRegion);
,rsName
);
}
- ~wxScrollBar();
+ virtual ~wxScrollBar();
bool Create( wxWindow* pParent
,wxWindowID vId
,rsName
);
}
- ~wxSlider();
+ virtual ~wxSlider();
bool Create( wxWindow* pParent
,wxWindowID vId
wxSound();
wxSound(const wxString& fileName, bool isResource = FALSE);
wxSound(int size, const wxByte* data);
- ~wxSound();
+ virtual ~wxSound();
public:
// Create from resource or file
{
Create(parent, id, pos, size, style, name);
}
- ~wxTabCtrl();
+ virtual ~wxTabCtrl();
// Accessors
{
Create(pParent, vId, rsValue, rPos, rSize, lStyle, rValidator, rsName);
}
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create( wxWindow* pParent
,wxWindowID vId
,nId
)
{ Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual void Notify(void);
virtual bool Start( int nMilliseconds = -1
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
public:
wxDCCacheEntry(WXHBITMAP hBitmap, int w, int h, int depth);
wxDCCacheEntry(WXHDC hDC, int depth);
- ~wxDCCacheEntry();
+ virtual ~wxDCCacheEntry();
WXHBITMAP m_bitmap;
WXHDC m_dc;
{
public:
wxDC();
- ~wxDC();
+ virtual ~wxDC();
// implement base class pure virtuals
// ----------------------------------
}
#endif
- ~wxDragImage();
+ virtual ~wxDragImage();
// Attributes
////////////////////////////////////////////////////////////////////////////
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */ );
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
int *attribList = 0,
const wxPalette& palette = wxNullPalette);
- ~wxGLCanvas();
+ virtual ~wxGLCanvas();
// Replaces wxWindow::Create functionality, since
// we need to use a different window class
DECLARE_CLASS(wxPalmHelpController)
public:
- wxPalmHelpController() {};
- ~wxPalmHelpController() {};
+ wxPalmHelpController() {}
+ virtual ~wxPalmHelpController() {}
// Must call this to set the filename
virtual bool Initialize(const wxString& file);
{
Create(width, height, mask, initialCount);
}
- ~wxImageList();
+ virtual ~wxImageList();
// Attributes
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIParentFrame();
+ virtual ~wxMDIParentFrame();
bool Create(wxWindow *parent,
wxWindowID id,
Create(parent, id, title, pos, size, style, name);
}
- ~wxMDIChildFrame();
+ virtual ~wxMDIChildFrame();
bool Create(wxMDIParentFrame *parent,
wxWindowID id,
friend class WXDLLEXPORT wxMetafile;
public:
wxMetafileRefData();
- ~wxMetafileRefData();
+ virtual ~wxMetafileRefData();
public:
WXHANDLE m_metafile;
friend class WXDLLEXPORT wxPalette;
public:
wxPaletteRefData(void);
- ~wxPaletteRefData(void);
+ virtual ~wxPaletteRefData(void);
protected:
WXHPALETTE m_hPalette;
};
wxPalette(void);
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- ~wxPalette(void);
+ virtual ~wxPalette(void);
bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;
int maximum = 100,
wxWindow *parent = NULL,
int style = wxPD_APP_MODAL | wxPD_AUTO_HIDE);
- ~wxProgressDialog();
+ virtual ~wxProgressDialog();
virtual bool Update(int value, const wxString& newmsg = wxEmptyString, bool *skip = NULL);
void Resume();
style, val, name);
}
- ~wxRadioBox();
+ virtual ~wxRadioBox();
bool Create(wxWindow *parent,
wxWindowID id,
{
public:
wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
- ~wxScrollBar();
+ virtual ~wxScrollBar();
wxScrollBar(wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
Create(parent, id, value, minValue, maxValue, pos, size, style, validator, name);
}
- ~wxSlider();
+ virtual ~wxSlider();
bool Create(wxWindow *parent, wxWindowID id,
int value, int minValue, int maxValue,
wxSound();
wxSound(const wxString& fileName, bool isResource = false);
wxSound(int size, const wxByte* data);
- ~wxSound();
+ virtual ~wxSound();
public:
// Create from resource or file
{
Create(parent, id, pos, size, style, name);
}
- ~wxTabCtrl();
+ virtual ~wxTabCtrl();
// Accessors
Create(parent, id, value, pos, size, style, validator, name);
}
- ~wxTextCtrl();
+ virtual ~wxTextCtrl();
bool Create(wxWindow *parent, wxWindowID id,
const wxString& value = wxEmptyString,
wxTimer() { Init(); }
wxTimer(wxEvtHandler *owner, int id = -1) : wxTimerBase(owner, id)
{ Init(); }
- ~wxTimer();
+ virtual ~wxTimer();
virtual bool Start(int milliseconds = -1, bool oneShot = FALSE);
virtual void Stop();
public:
wxPrintDialog(wxWindow *parent, wxPrintDialogData* data = NULL);
wxPrintDialog(wxWindow *parent, wxPrintData* data);
- ~wxPrintDialog();
+ virtual ~wxPrintDialog();
virtual int ShowModal();
{
public:
wxPageSetupDialog(wxWindow *parent, wxPageSetupDialogData *data = NULL);
- ~wxPageSetupDialog();
+ virtual ~wxPageSetupDialog();
int ShowModal();
wxPageSetupDialogData& GetPageSetupDialogData();
const wxSize& size = wxDefaultSize,
long style = 0,
const wxString& name = wxT("canvas"));
- ~wxPreviewCanvas();
+ virtual ~wxPreviewCanvas();
void OnPaint(wxPaintEvent& event);
void OnChar(wxKeyEvent &event);
const wxSize& size = wxDefaultSize,
long style = wxDEFAULT_FRAME_STYLE,
const wxString& name = wxT("frame"));
- ~wxPreviewFrame();
+ virtual ~wxPreviewFrame();
void OnCloseWindow(wxCloseEvent& event);
virtual void Initialize();
const wxSize& size = wxDefaultSize,
long style = wxTAB_TRAVERSAL,
const wxString& name = wxT("panel"));
- ~wxPreviewControlBar();
+ virtual ~wxPreviewControlBar();
virtual void CreateButtons();
virtual void SetZoomControl(int zoom);
wxProtocolError m_error;
public:
wxFileProto();
- ~wxFileProto();
+ virtual ~wxFileProto();
wxProtocolError GetError() { return m_error; }
bool Abort() { return TRUE; }
{
public:
wxHTTP();
- ~wxHTTP();
+ virtual ~wxHTTP();
virtual bool Connect(const wxString& host, unsigned short port);
virtual bool Connect(const wxString& host) { return Connect(host, 0); }
//// Constructor
wxQuantize() {}
- ~wxQuantize() {}
+ virtual ~wxQuantize() {}
//// Operations
// Constructors
wxRichTextObject(wxRichTextObject* parent = NULL);
- ~wxRichTextObject();
+ virtual ~wxRichTextObject();
// Overrideables
// Constructors
wxRichTextCompositeObject(wxRichTextObject* parent = NULL);
- ~wxRichTextCompositeObject();
+ virtual ~wxRichTextCompositeObject();
// Overrideables
wxRichTextParagraph(wxRichTextObject* parent = NULL, wxTextAttrEx* style = NULL);
wxRichTextParagraph(const wxString& text, wxRichTextObject* parent = NULL, wxTextAttrEx* style = NULL);
- ~wxRichTextParagraph();
+ virtual ~wxRichTextParagraph();
wxRichTextParagraph(const wxRichTextParagraph& obj):wxRichTextBox() { Copy(obj); }
// Overrideables
public:
wxRichTextImageBlock();
wxRichTextImageBlock(const wxRichTextImageBlock& block);
- ~wxRichTextImageBlock();
+ virtual ~wxRichTextImageBlock();
void Init();
void Clear();
wxRichTextBuffer() { Init(); }
wxRichTextBuffer(const wxRichTextBuffer& obj):wxRichTextParagraphLayoutBox() { Init(); Copy(obj); }
- ~wxRichTextBuffer() ;
+ virtual ~wxRichTextBuffer() ;
// Accessors
// Ctor for multiple actions
wxRichTextCommand(const wxString& name);
- ~wxRichTextCommand();
+ virtual ~wxRichTextCommand();
bool Do();
bool Undo();
wxRichTextAction(wxRichTextCommand* cmd, const wxString& name, wxRichTextCommandId id, wxRichTextBuffer* buffer,
wxRichTextCtrl* ctrl, bool ignoreFirstTime = false);
- ~wxRichTextAction();
+ virtual ~wxRichTextAction();
bool Do();
bool Undo();
wxRichTextCtrl( );
wxRichTextCtrl( wxWindow* parent, wxWindowID id = -1, const wxString& value = wxEmptyString, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
long style = wxRE_MULTILINE );
- ~wxRichTextCtrl( );
+ virtual ~wxRichTextCtrl( );
// Operations
// Constructors
wxRichTextStyleDefinition(const wxString& name = wxEmptyString) { Init(); m_name = name; }
- ~wxRichTextStyleDefinition() {}
+ virtual ~wxRichTextStyleDefinition() {}
void Init() {}
wxRichTextCharacterStyleDefinition(const wxString& name = wxEmptyString):
wxRichTextStyleDefinition(name) {}
- ~wxRichTextCharacterStyleDefinition() {}
+ virtual ~wxRichTextCharacterStyleDefinition() {}
protected:
};
wxRichTextParagraphStyleDefinition(const wxString& name = wxEmptyString):
wxRichTextStyleDefinition(name) {}
- ~wxRichTextParagraphStyleDefinition() {}
+ virtual ~wxRichTextParagraphStyleDefinition() {}
/// The next style.
void SetNextStyle(const wxString& name) { m_nextStyle = name; }
public:
/// Constructors
wxRichTextStyleSheet() { Init(); }
- ~wxRichTextStyleSheet() { DeleteStyles(); }
+ virtual ~wxRichTextStyleSheet() { DeleteStyles(); }
/// Initialisation
void Init();
public:
wxRichTextStyleListBox(wxWindow* parent, wxWindowID id = wxID_ANY, const wxPoint& pos = wxDefaultPosition,
const wxSize& size = wxDefaultSize, long style = 0);
- ~wxRichTextStyleListBox();
+ virtual ~wxRichTextStyleListBox();
/// Creates a suitable HTML fragment for a definition
wxString CreateHTML(wxRichTextStyleDefinition* def) const;
{
public:
wxSocketOutputStream(wxSocketBase& s);
- ~wxSocketOutputStream();
+ virtual ~wxSocketOutputStream();
wxFileOffset SeekO( wxFileOffset WXUNUSED(pos), wxSeekMode WXUNUSED(mode) )
{ return -1; }
{
public:
wxSocketInputStream(wxSocketBase& s);
- ~wxSocketInputStream();
+ virtual ~wxSocketInputStream();
wxFileOffset SeekI( wxFileOffset WXUNUSED(pos), wxSeekMode WXUNUSED(mode) )
{ return -1; }
{
public:
wxSocketStream(wxSocketBase& s);
- ~wxSocketStream();
+ virtual ~wxSocketStream();
DECLARE_NO_COPY_CLASS(wxSocketStream)
};
{
public:
wxSizer() { m_containingWindow = NULL; }
- ~wxSizer();
+ virtual ~wxSizer();
// methods for adding elements to the sizer: there are Add/Insert/Prepend
// overloads for each of window/sizer/spacer/wxSizerItem
m_toolStyle = wxTOOL_STYLE_CONTROL;
}
- ~wxToolBarToolBase(){}
+ virtual ~wxToolBarToolBase(){}
// accessors
// ---------
// --------
wxTextCtrlBase(){}
- ~wxTextCtrlBase(){}
+ virtual ~wxTextCtrlBase(){}
// accessors
// ---------
*/
wxJoystick(int joystick = wxJOYSTICK1);
- ~wxJoystick();
+ virtual ~wxJoystick();
// Attributes
////////////////////////////////////////////////////////////////////////////
wxSound();
wxSound(const wxString& fileName, bool isResource = false);
wxSound(int size, const wxByte* data);
- ~wxSound();
+ virtual ~wxSound();
// Create from resource or file
bool Create(const wxString& fileName, bool isResource = false);
wxGenericValidator(wxArrayInt* val);
wxGenericValidator(const wxGenericValidator& copyFrom);
- ~wxGenericValidator(){}
+ virtual ~wxGenericValidator(){}
// Make a clone of this validator (or return NULL) - currently necessary
// if you're passing a reference to a validator.
wxTextValidator(long style = wxFILTER_NONE, wxString *val = 0);
wxTextValidator(const wxTextValidator& val);
- ~wxTextValidator(){}
+ virtual ~wxTextValidator(){}
// Make a clone of this validator (or return NULL) - currently necessary
// if you're passing a reference to a validator.
#endif
wxVariant(const wxVariant& variant);
- ~wxVariant();
+ virtual ~wxVariant();
// Generic operators
// Assignment
wxFileInputStream(const wxString& ifileName);
wxFileInputStream(wxFile& file);
wxFileInputStream(int fd);
- ~wxFileInputStream();
+ virtual ~wxFileInputStream();
wxFileOffset GetLength() const;
wxFFileInputStream(const wxString& fileName, const wxChar *mode = _T("rb"));
wxFFileInputStream(wxFFile& file);
wxFFileInputStream(FILE *file);
- ~wxFFileInputStream();
+ virtual ~wxFFileInputStream();
wxFileOffset GetLength() const;
public:
wxApp();
- ~wxApp();
+ virtual ~wxApp();
// override base class (pure) virtuals
// -----------------------------------
wxMask( const wxBitmap& bitmap, const wxColour& colour );
wxMask( const wxBitmap& bitmap, int paletteIndex );
wxMask( const wxBitmap& bitmap );
- ~wxMask();
+ virtual ~wxMask();
bool Create( const wxBitmap& bitmap, const wxColour& colour );
bool Create( const wxBitmap& bitmap, int paletteIndex );
wxBrush( const wxColour &colour, int style = wxSOLID );
wxBrush( const wxBitmap &stippleBitmap );
- ~wxBrush();
+ virtual ~wxBrush();
bool Ok() const { return m_refData != NULL; }
{
public:
wxClipboard();
- ~wxClipboard();
+ virtual ~wxClipboard();
// open the clipboard before SetData() and GetData()
virtual bool Open();
wxColour() {}
DEFINE_STD_WXCOLOUR_CONSTRUCTORS
- ~wxColour();
+ virtual ~wxColour();
bool Ok() const { return m_refData != NULL; }
wxCursor( const char bits[], int width, int height,
int hotSpotX=-1, int hotSpotY=-1,
const char maskBits[]=0, wxColour *fg=0, wxColour *bg=0 );
- ~wxCursor();
+ virtual ~wxCursor();
bool operator == ( const wxCursor& cursor ) const;
bool operator != ( const wxCursor& cursor ) const;
bool Ok() const;
wxDataObject();
#ifdef __DARWIN__
- ~wxDataObject() { }
+ virtual ~wxDataObject() { }
#endif
virtual bool IsSupportedFormat( const wxDataFormat& format, Direction dir = Get ) const;
wxBitmapDataObject(const wxBitmap& bitmap);
// destr
- ~wxBitmapDataObject();
+ virtual ~wxBitmapDataObject();
// override base class virtual to update PNG data too
virtual void SetBitmap(const wxBitmap& bitmap);
{
public:
wxDC();
- ~wxDC() { }
+ virtual ~wxDC() { }
// implement base class pure virtuals
// ----------------------------------
wxWindowDC();
wxWindowDC( wxWindow *win );
- ~wxWindowDC();
+ virtual ~wxWindowDC();
virtual bool CanDrawBitmap() const { return true; }
virtual bool CanGetTextExtent() const { return true; }
public:
wxMemoryDC();
wxMemoryDC( wxDC *dc ); // Create compatible DC
- ~wxMemoryDC();
+ virtual ~wxMemoryDC();
virtual void SelectObject( const wxBitmap& bitmap );
// implementation
// Create a printer DC
wxPrinterDC(const wxString& driver, const wxString& device, const wxString& output, bool interactive = TRUE, int orientation = wxPORTRAIT);
- ~wxPrinterDC();
+ virtual ~wxPrinterDC();
};
#endif
public:
wxDropTarget();
- ~wxDropTarget();
+ virtual ~wxDropTarget();
virtual void OnEnter() { }
virtual void OnLeave() { }
wxDropSource( wxWindow *win );
wxDropSource( wxDataObject &data, wxWindow *win );
- ~wxDropSource(void);
+ virtual ~wxDropSource(void);
void SetData( wxDataObject &data );
wxDragResult DoDragDrop(int flags = wxDrag_CopyOnly);
const wxPalette& WXUNUSED(palette),
const wxGLContext *other /* for sharing display lists */
);
- ~wxGLContext();
+ virtual ~wxGLContext();
void SetCurrent();
void SetColour(const wxChar *colour);
int *attribList = (int*) NULL,
const wxPalette& palette = wxNullPalette );
- ~wxGLCanvas();
+ virtual ~wxGLCanvas();
void SetCurrent();
void SetColour(const wxChar *colour);
Create(parent, id, title, pos, size, style, name);
}
- ~wxMiniFrame() {}
+ virtual ~wxMiniFrame() {}
protected:
};
friend class WXDLLEXPORT wxPalette;
public:
wxPaletteRefData();
- ~wxPaletteRefData();
+ virtual ~wxPaletteRefData();
protected:
wxList m_palettes;
wxPalette();
wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
- ~wxPalette();
+ virtual ~wxPalette();
bool Create(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue);
int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const;
bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const;
wxPen( const wxColour &colour, int width = 1, int style = wxSOLID );
wxPen( const wxBitmap &stipple, int width );
- ~wxPen();
+ virtual ~wxPen();
bool Ok() const { return m_refData != NULL; }
public:
wxPrinter(wxPrintData *data = NULL);
- ~wxPrinter();
+ virtual ~wxPrinter();
virtual bool Print(wxWindow *parent, wxPrintout *printout, bool prompt = TRUE);
virtual bool PrintDialog(wxWindow *parent);
public:
wxPrintPreview(wxPrintout *printout, wxPrintout *printoutForPrinting = NULL, wxPrintData *data = NULL);
- ~wxPrintPreview();
+ virtual ~wxPrintPreview();
virtual bool Print(bool interactive);
virtual void DetermineScaling();
Union(bmp, transColour, tolerance);
}
- ~wxRegion();
+ virtual ~wxRegion();
bool Ok() const { return m_refData != NULL; }
public:
wxAdoptedWindow();
wxAdoptedWindow(WXWindow window);
- ~wxAdoptedWindow();
+ virtual ~wxAdoptedWindow();
void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; }
WXWindow GetHandle() const { return GetMainWindow(); }
const wxString& domain=wxEmptyString);
// Destructor.
- ~wxXmlResource();
+ virtual ~wxXmlResource();
// Loads resources from XML files that match given filemask.
// This method understands VFS (see filesys.h).
public: \
wxINFUNC_CLASS_TYPE_FIX(Klass) \
wxSetter##property() : wxSetter( wxT(#setterMethod) ) {} \
- ~wxSetter##property() {} \
+ virtual ~wxSetter##property() {} \
void Set( wxObject *object, const wxxVariant &variantValue ) const \
{ \
Klass *obj = dynamic_cast<Klass*>(object) ; \
public : \
wxINFUNC_CLASS_TYPE_FIX(Klass) \
wxGetter##property() : wxGetter( wxT(#gettermethod) ) {} \
- ~wxGetter##property() {} \
+ virtual ~wxGetter##property() {} \
void Get( const wxObject *object , wxxVariant &result) const \
{ \
const Klass *obj = dynamic_cast<const Klass*>(object) ; \
public: \
wxINFUNC_CLASS_TYPE_FIX(Klass) \
wxAdder##property() : wxAdder( wxT(#addermethod) ) {} \
- ~wxAdder##property() {} \
+ virtual ~wxAdder##property() {} \
void Add( wxObject *object, const wxxVariant &variantValue ) const \
{ \
Klass *obj = dynamic_cast<Klass*>(object) ; \
public : \
wxINFUNC_CLASS_TYPE_FIX(Klass) \
wxCollectionGetter##property() : wxCollectionGetter( wxT(#gettermethod) ) {} \
- ~wxCollectionGetter##property() {} \
+ virtual ~wxCollectionGetter##property() {} \
void Get( const wxObject *object , wxxVariantArray &result) const \
{ \
const Klass *obj = dynamic_cast<const Klass*>(object) ; \
{
public :
wxGenericPropertyAccessor( const wxString &propName ) ;
- ~wxGenericPropertyAccessor() ;
+ virtual ~wxGenericPropertyAccessor() ;
void RenameProperty( const wxString& WXUNUSED_UNLESS_DEBUG(oldName),
const wxString& newName )
{
public :
wxWriter() ;
- ~wxWriter() ;
+ virtual ~wxWriter() ;
// with this call you start writing out a new top-level object
void WriteObject(const wxObject *object, const wxClassInfo *classInfo , wxPersister *persister , const wxString &name , wxxVariantArray &WXUNUSED(metadata)) ;
{
public :
wxReader() ;
- ~wxReader() ;
+ virtual ~wxReader() ;
// the only thing wxReader knows about is the class info by object ID
wxClassInfo *GetObjectClassInfo(int objectID) ;
public :
wxXmlWriter( wxXmlNode * parent ) ;
- ~wxXmlWriter() ;
+ virtual ~wxXmlWriter() ;
//
// streaming callbacks
{
public:
wxXmlReader(wxXmlNode *parent) { m_parent = parent ; }
- ~wxXmlReader() {}
+ virtual ~wxXmlReader() {}
// Reads a component from XML. The return value is the root object ID, which can
// then be used to ask the depersister about that object
{
public:
wxComboFrameEventHandler( wxComboCtrlBase* pCb );
- ~wxComboFrameEventHandler();
+ virtual ~wxComboFrameEventHandler();
void OnPopup();
{
m_combo = combo;
}
- ~wxComboBoxExtraInputHandler() { }
+ virtual ~wxComboBoxExtraInputHandler() { }
void OnKey(wxKeyEvent& event);
void OnFocus(wxFocusEvent& event);
m_combo = combo;
m_beenInside = false;
}
- ~wxComboPopupExtraEventHandler() { }
+ virtual ~wxComboPopupExtraEventHandler() { }
void OnMouseEvent( wxMouseEvent& event );
wxTemporaryFileInputStream(const wxString& filename) :
wxFileInputStream(filename), m_filename(filename) {}
- ~wxTemporaryFileInputStream()
+ virtual ~wxTemporaryFileInputStream()
{
// NB: copied from wxFileInputStream dtor, we need to do it before
// wxRemoveFile
InitTime();
}
- ~MemFSHashObj()
+ virtual ~MemFSHashObj()
{
delete[] m_Data;
}
Init( wxCFStringEncFromFontEnc(encoding) );
}
- ~wxMBConv_cocoa()
+ virtual ~wxMBConv_cocoa()
{
}
Init( wxMacGetSystemEncFromFontEnc(encoding) );
}
- ~wxMBConv_mac()
+ virtual ~wxMBConv_mac()
{
OSStatus status = noErr ;
if (m_MB2WC_converter)
m_uniBack = NULL ;
}
- ~wxMBConv_macUTF8D()
+ virtual ~wxMBConv_macUTF8D()
{
if (m_uni!=NULL)
DisposeUnicodeToTextInfo(&m_uni);
public:
wxVariantDataList() {}
wxVariantDataList(const wxList& list);
- ~wxVariantDataList();
+ virtual ~wxVariantDataList();
wxList& GetValue() { return m_value; }
void SetValue(const wxList& value) ;
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
const wxString &name = wxT("wxdataviewctrlheaderwindow") );
- ~wxDataViewHeaderWindow();
+ virtual ~wxDataViewHeaderWindow();
void SetOwner( wxDataViewCtrl* owner ) { m_owner = owner; }
wxDataViewCtrl *GetOwner() { return m_owner; }
const wxPoint &pos = wxDefaultPosition,
const wxSize &size = wxDefaultSize,
const wxString &name = wxT("wxdataviewctrlmainwindow") );
- ~wxDataViewMainWindow();
+ virtual ~wxDataViewMainWindow();
// notifications from wxDataViewListModel
bool RowAppended();
wxGridRowLabelWindow *rowLblWin,
wxGridColLabelWindow *colLblWin,
wxWindowID id, const wxPoint &pos, const wxSize &size );
- ~wxGridWindow() {}
+ virtual ~wxGridWindow() {}
void ScrollWindow( int dx, int dy, const wxRect *rect );
DECLARE_DYNAMIC_CLASS(wxNotebookTabView)
public:
wxNotebookTabView(wxNotebook* notebook, long style = wxTAB_STYLE_DRAW_BOX | wxTAB_STYLE_COLOUR_INTERIOR);
- ~wxNotebookTabView(void);
+ virtual ~wxNotebookTabView(void);
// Called when a tab is activated
virtual void OnTabActivate(int activateId, int deactivateId);
public:
wxPaletteRefData(void);
- ~wxPaletteRefData(void);
+ virtual ~wxPaletteRefData(void);
int m_count;
wxPaletteEntry *m_entries;
extents = refData.extents;
}
- ~wxRegionRefData()
+ virtual ~wxRegionRefData()
{
free(rects);
}
{
public:
wxBitmapRefData();
- ~wxBitmapRefData();
+ virtual ~wxBitmapRefData();
GdkPixmap *m_pixmap;
GdkPixbuf *m_pixbuf;
m_colormap = NULL;
}
- ~wxColourRefData()
+ virtual ~wxColourRefData()
{
FreeColour();
}
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
GdkCursor *m_cursor;
};
m_region = gdk_region_copy(refData.m_region);
}
- ~wxRegionRefData()
+ virtual ~wxRegionRefData()
{
if (m_region)
gdk_region_destroy( m_region );
{
public:
wxBitmapRefData();
- ~wxBitmapRefData();
+ virtual ~wxBitmapRefData();
GdkPixmap *m_pixmap;
GdkBitmap *m_bitmap;
m_hasPixel = data.m_hasPixel;
}
- ~wxColourRefData()
+ virtual ~wxColourRefData()
{
FreeColour();
}
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
GdkCursor *m_cursor;
};
m_region = gdk_regions_union(wxGdkRegion(), refData.m_region);
}
- ~wxRegionRefData()
+ virtual ~wxRegionRefData()
{
if (m_region)
gdk_region_destroy( m_region );
wxChmInputStream(const wxString& archive,
const wxString& file, bool simulate = false);
/// Destructor
- ~wxChmInputStream();
+ virtual ~wxChmInputStream();
/// Return the size of the accessed file in archive
virtual size_t GetSize() const { return m_size; }
public:
/// Constructor and Destructor
wxChmFSHandler();
- ~wxChmFSHandler();
+ virtual ~wxChmFSHandler();
/// Is able to open location?
virtual bool CanOpen(const wxString& location);
public:
wxHtmlHelpHashData(int index, wxTreeItemId id) : wxObject()
{ m_Index = index; m_Id = id;}
- ~wxHtmlHelpHashData() {}
+ virtual ~wxHtmlHelpHashData() {}
int m_Index;
wxTreeItemId m_Id;
wxFSFile *input, int w = wxDefaultCoord, int h = wxDefaultCoord,
double scale = 1.0, int align = wxHTML_ALIGN_BOTTOM,
const wxString& mapname = wxEmptyString);
- ~wxHtmlImageCell();
+ virtual ~wxHtmlImageCell();
void Draw(wxDC& dc, int x, int y, int view_y1, int view_y2,
wxHtmlRenderingInfo& info);
virtual wxHtmlLinkInfo *GetLink(int x = 0, int y = 0) const;
public:
wxHtmlTableCell(wxHtmlContainerCell *parent, const wxHtmlTag& tag, double pixel_scale = 1.0);
- ~wxHtmlTableCell();
+ virtual ~wxHtmlTableCell();
virtual void RemoveExtraSpacing(bool top, bool bottom);
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
- ~wxAcceleratorRefData();
+ virtual ~wxAcceleratorRefData();
wxAccelList m_accels;
};
public:
wxBrushRefData();
wxBrushRefData(const wxBrushRefData& data);
- ~wxBrushRefData();
+ virtual ~wxBrushRefData();
protected:
wxMacBrushKind m_macBrushKind ;
{
public:
wxMacDataBrowserCheckListControl( wxListBox *peer, const wxPoint& pos, const wxSize& size, long style );
- ~wxMacDataBrowserCheckListControl();
+ virtual ~wxMacDataBrowserCheckListControl();
virtual wxMacListBoxItem* CreateItem();
m_isChecked = false;
}
- ~wxMacCheckListBoxItem()
+ virtual ~wxMacCheckListBoxItem()
{
}
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
protected:
WXHCURSOR m_hCursor;
}
}
- ~ImagePattern()
+ virtual ~ImagePattern()
{
if ( m_image )
CGImageRelease( m_image ) ;
}
protected :
- ~HatchPattern() {}
+ virtual ~HatchPattern() {}
CGRect m_imageBounds ;
int m_hatch ;
{
public :
wxMacCarbonPrinterDC( wxPrintData* data ) ;
- ~wxMacCarbonPrinterDC() ;
+ virtual ~wxMacCarbonPrinterDC() ;
virtual bool StartDoc( wxPrinterDC* dc , const wxString& message ) ;
virtual void EndDoc( wxPrinterDC* dc ) ;
virtual void StartPage( wxPrinterDC* dc ) ;
DECLARE_CLASS(wxFontColourSwatchCtrl)
public:
wxFontColourSwatchCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
- ~wxFontColourSwatchCtrl();
+ virtual ~wxFontColourSwatchCtrl();
void OnPaint(wxPaintEvent& event);
void OnMouseEvent(wxMouseEvent& event);
{
public:
wxQTMediaBackend();
- ~wxQTMediaBackend();
+ virtual ~wxQTMediaBackend();
virtual bool CreateControl(wxControl* ctrl, wxWindow* parent,
wxWindowID id,
public:
wxMetafileRefData();
- ~wxMetafileRefData();
+ virtual ~wxMetafileRefData();
private:
PicHandle m_metafile;
CopyRgn( data.m_macRgn , m_macRgn );
}
- ~wxRegionRefData()
+ virtual ~wxRegionRefData()
{ DisposeRgn( m_macRgn ); }
RgnHandle m_macRgn;
{
}
- ~wxQTTimer()
+ virtual ~wxQTTimer()
{
if(m_pbPlaying)
*m_pbPlaying = false;
{
}
- ~wxSMTimer()
+ virtual ~wxSMTimer()
{
if(m_pbPlaying)
*m_pbPlaying = false;
m_param1 = p1 ;
}
- ~wxMacObjectFunctor1() {}
+ virtual ~wxMacObjectFunctor1() {}
virtual void* operator()()
{
{
public :
wxMacTextControl( wxTextCtrl *peer ) ;
- ~wxMacTextControl() ;
+ virtual ~wxMacTextControl() ;
virtual wxString GetStringValue() const = 0 ;
virtual void SetStringValue( const wxString &val ) = 0 ;
const wxString& str,
const wxPoint& pos,
const wxSize& size, long style ) ;
- ~wxMacMLTEHIViewControl() ;
+ virtual ~wxMacMLTEHIViewControl() ;
virtual OSStatus SetFocus( ControlFocusPart focusPart ) ;
virtual bool HasFocus() const ;
const wxString& str,
const wxPoint& pos,
const wxSize& size, long style ) ;
- ~wxMacUnicodeTextControl();
+ virtual ~wxMacUnicodeTextControl();
virtual void VisibilityChanged(bool shown);
virtual wxString GetStringValue() const ;
const wxString& str,
const wxPoint& pos,
const wxSize& size, long style ) ;
- ~wxMacMLTEClassicControl() ;
+ virtual ~wxMacMLTEClassicControl() ;
virtual void VisibilityChanged(bool shown) ;
virtual void SuperChangedPosition() ;
SetControlHandle( (ControlRef) control->GetHandle() );
}
- ~wxToolBarTool()
+ virtual ~wxToolBarTool()
{
ClearControl();
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
- ~wxAcceleratorRefData();
+ virtual ~wxAcceleratorRefData();
wxAccelList m_accels;
};
public:
wxBrushRefData();
wxBrushRefData(const wxBrushRefData& data);
- ~wxBrushRefData();
+ virtual ~wxBrushRefData();
protected:
wxMacBrushKind m_macBrushKind ;
{
public :
wxMacCarbonPrinterDC( wxPrintData* data ) ;
- ~wxMacCarbonPrinterDC() ;
+ virtual ~wxMacCarbonPrinterDC() ;
virtual bool StartDoc( wxPrinterDC* dc , const wxString& message ) ;
virtual void EndDoc( wxPrinterDC* dc ) ;
virtual void StartPage( wxPrinterDC* dc ) ;
{
public :
wxMacClassicPrinterDC( wxPrintData* data ) ;
- ~wxMacClassicPrinterDC() ;
+ virtual ~wxMacClassicPrinterDC() ;
virtual bool StartDoc( wxPrinterDC* dc , const wxString& message ) ;
virtual void EndDoc( wxPrinterDC* dc ) ;
virtual void StartPage( wxPrinterDC* dc ) ;
CopyRgn( data.m_macRgn , m_macRgn ) ;
}
- ~wxRegionRefData()
+ virtual ~wxRegionRefData()
{
DisposeRgn( m_macRgn ) ;
}
Init() ;
}
- ~wxToolBarTool()
+ virtual ~wxToolBarTool()
{
if ( m_controlHandle )
DisposeControl( m_controlHandle ) ;
{
public:
wxHIDJoystick();
- ~wxHIDJoystick();
+ virtual ~wxHIDJoystick();
bool Create(int nWhich);
virtual void BuildCookies(CFArrayRef Array);
SetMGLwindow_t(MGL_wmGetRootWindow(g_winMng));
SetBackgroundColour(wxTHEME_COLOUR(DESKTOP));
}
- ~wxRootWindow()
+ virtual ~wxRootWindow()
{
// we don't want to delete MGL_WM's rootWnd
m_wnd = NULL;
{
public:
wxBitmapRefData();
- ~wxBitmapRefData();
+ virtual ~wxBitmapRefData();
int m_width;
int m_height;
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
MGLCursor *m_cursor;
};
{
public:
wxPaletteRefData(void);
- ~wxPaletteRefData(void);
+ virtual ~wxPaletteRefData(void);
int m_count;
palette_t *m_entries;
m_region = data.m_region;
}
- ~wxRegionRefData() {}
+ virtual ~wxRegionRefData() {}
MGLRegion m_region;
};
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
- ~wxAcceleratorRefData();
+ virtual ~wxAcceleratorRefData();
public:
int m_count;
friend class WXDLLEXPORT wxCursor;
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
wxXCursorList m_cursors; // wxXCursor objects, one per display
wxStockCursor m_cursorId; // wxWidgets standard cursor id
{
public:
wxXFont();
- ~wxXFont();
+ virtual ~wxXFont();
#if !wxMOTIF_NEW_FONT_HANDLING
WXFontStructPtr m_fontStruct; // XFontStruct
data.m_underlined, data.m_faceName, data.m_encoding);
}
- ~wxFontRefData();
+ virtual ~wxFontRefData();
protected:
// common part of all ctors
Create( parent, id, d, pos, size );
}
- ~wxArrowButton()
+ virtual ~wxArrowButton()
{ delete m_timer; }
bool Create( wxSpinButton* parent, wxWindowID id, ArrowDirection d,
: wxFFileInputStream(name, _T("rt"))
{ }
- ~wxTempFileInStream()
+ virtual ~wxTempFileInStream()
{
m_file->Close();
wxRemoveFile(m_file->GetName());
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
- ~wxAcceleratorRefData();
+ virtual ~wxAcceleratorRefData();
inline HACCEL GetHACCEL() const { return m_hAccel; }
protected:
{
public:
wxMCIMediaBackend();
- ~wxMCIMediaBackend();
+ virtual ~wxMCIMediaBackend();
virtual bool CreateControl(wxControl* ctrl, wxWindow* parent,
wxWindowID id,
{
public:
wxQTMediaBackend();
- ~wxQTMediaBackend();
+ virtual ~wxQTMediaBackend();
virtual bool CreateControl(wxControl* ctrl, wxWindow* parent,
wxWindowID id,
pGB->Release();
}
- ~wxAMPlayTimer()
+ virtual ~wxAMPlayTimer()
{
SAFE_RELEASE(m_pME);
}
{
public:
wxWinINetInputStream(HINTERNET hFile=0);
- ~wxWinINetInputStream();
+ virtual ~wxWinINetInputStream();
void Attach(HINTERNET hFile);
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
- ~wxAcceleratorRefData();
+ virtual ~wxAcceleratorRefData();
inline HACCEL GetHACCEL() const { return m_hAccel; }
protected:
}
}
- ~wxRegionRefData()
+ virtual ~wxRegionRefData()
{
::GpiDestroyRegion(m_hPS, m_hRegion);
}
friend class WXDLLEXPORT wxAcceleratorTable;
public:
wxAcceleratorRefData();
- ~wxAcceleratorRefData();
+ virtual ~wxAcceleratorRefData();
inline HACCEL GetHACCEL() const { return m_hAccel; }
protected:
public:
wxPopupMenuWindow(wxWindow *parent, wxMenu *menu);
- ~wxPopupMenuWindow();
+ virtual ~wxPopupMenuWindow();
// override the base class version to select the first item initially
virtual void Popup(wxWindow *focus = NULL);
{
public:
wxWin32FrameInputHandler(wxInputHandler *handler);
- ~wxWin32FrameInputHandler();
+ virtual ~wxWin32FrameInputHandler();
virtual bool HandleMouse(wxInputConsumer *control,
const wxMouseEvent& event);
{
public:
wxDialUpManagerImpl();
- ~wxDialUpManagerImpl();
+ virtual ~wxDialUpManagerImpl();
/** Could the dialup manager be initialized correctly? If this function
returns false, no other functions will work neither, so it's a good idea
public:
wxGStreamerMediaBackend();
- ~wxGStreamerMediaBackend();
+ virtual ~wxGStreamerMediaBackend();
virtual bool CreateControl(wxControl* ctrl, wxWindow* parent,
wxWindowID id,
public:
wxSoundSyncOnlyAdaptor(wxSoundBackend *backend)
: m_backend(backend), m_playing(false) {}
- ~wxSoundSyncOnlyAdaptor()
+ virtual ~wxSoundSyncOnlyAdaptor()
{
delete m_backend;
}
{
public:
wxBitmapRefData();
- ~wxBitmapRefData();
+ virtual ~wxBitmapRefData();
WXPixmap m_pixmap;
WXPixmap m_bitmap;
m_hasPixel = data.m_hasPixel;
}
- ~wxColourRefData()
+ virtual ~wxColourRefData()
{
FreeColour();
}
public:
wxCursorRefData();
- ~wxCursorRefData();
+ virtual ~wxCursorRefData();
WXCursor m_cursor;
WXDisplay *m_display;
wxSocketTable(): wxHashTable(wxKEY_INTEGER)
{
}
- ~wxSocketTable()
+ virtual ~wxSocketTable()
{
WX_CLEAR_HASH_TABLE(*this)
}
{
public:
wxXFont();
- ~wxXFont();
+ virtual ~wxXFont();
WXFontStructPtr m_fontStruct; // XFontStruct
WXDisplay* m_display; // XDisplay
XUnionRegion( refData.m_region, m_region, m_region );
}
- ~wxRegionRefData()
+ virtual ~wxRegionRefData()
{
if (m_region)
XDestroyRegion( m_region );
public:
wxRIRefData() : m_rects(0), m_numRects(0){}
- ~wxRIRefData();
+ virtual ~wxRIRefData();
wxRect *m_rects;
size_t m_numRects;
public:
RipperDocGen();
- ~RipperDocGen();
+ virtual ~RipperDocGen();
// should be called onece to set user-code provided,
// parser for specific source code language
public:
spInterFileContext();
- ~spInterFileContext();
+ virtual ~spInterFileContext();
void AddFile( const wxString& fname, const wxString& content );
ctSettings(const ctSettings& settings);
/// Destructor.
- ~ctSettings(){};
+ virtual ~ctSettings(){}
// Operations
/// Ctor and dtor
ctConfigItem(ctConfigItem* parent, ctConfigType type, const wxString& name);
ctConfigItem();
- ~ctConfigItem();
+ virtual ~ctConfigItem();
/// Copy constructor.
ctConfigItem(const ctConfigItem& item) : wxObject()
DECLARE_DYNAMIC_CLASS(ctConfigToolDoc)
public:
ctConfigToolDoc();
- ~ctConfigToolDoc();
+ virtual ~ctConfigToolDoc();
//// Overrides
virtual bool OnCreate(const wxString& path, long flags);
/// Ctor and dtor
ctConfiguration(ctConfiguration* parent, const wxString& name);
ctConfiguration();
- ~ctConfiguration();
+ virtual ~ctConfiguration();
/// Copy constructor.
ctConfiguration(const ctConfiguration& configuration) : wxObject()
ctConfigCommand(const wxString& name, int cmdId,
ctConfigItem* activeState, ctProperties* properties,
bool ignoreFirstTime = false);
- ~ctConfigCommand();
+ virtual ~ctConfigCommand();
bool Do();
bool Undo();
{
public:
ctTreeItemData(ctConfigItem* item) : m_configItem(item) { }
- ~ctTreeItemData() ;
+ virtual ~ctTreeItemData() ;
ctConfigItem *GetConfigItem() const { return m_configItem; }
void SetConfigItem(ctConfigItem *item) { m_configItem = item; }
public:
ctConfigTreeCtrl(wxWindow* parent, wxWindowID id, const wxPoint& pt = wxDefaultPosition,
const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS);
- ~ctConfigTreeCtrl();
+ virtual ~ctConfigTreeCtrl();
//// Event handlers
void OnMouseEvent(wxMouseEvent& event);
public:
wxSimpleHtmlParser();
- ~wxSimpleHtmlParser();
+ virtual ~wxSimpleHtmlParser();
//// Operations
bool ParseFile(const wxString& filename);
public:
ctOutputWindow(wxWindow* parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize, long style = 0);
- ~ctOutputWindow(){};
+ virtual ~ctOutputWindow(){}
/// Initialise the windows.
void CreateWindows();
DECLARE_CLASS(ctPropertyEditor)
public:
ctPropertyEditor(wxWindow *parent, wxWindowID id, const wxPoint& pos, const wxSize& size, long style);
- ~ctPropertyEditor(){};
+ virtual ~ctPropertyEditor(){}
// Event handlers
public:
ctProperties() {}
ctProperties(const ctProperties& properties) : wxObject() { Copy(properties); }
- ~ctProperties() { Clear(); }
+ virtual ~ctProperties() { Clear(); }
void operator = (const ctProperties& properties) { Clear(); Copy(properties); }
void Copy(const ctProperties& properties);
ctApp();
/// Destructor.
- ~ctApp(){};
+ virtual ~ctApp(){}
// Accessors
{
public:
hvConnection();
- ~hvConnection();
+ virtual ~hvConnection();
bool OnExecute(const wxString& topic, wxChar*data, int size, wxIPCFormat format);
wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format);
{
public:
rhhcConnection(bool *isconn_a);
- ~rhhcConnection();
+ virtual ~rhhcConnection();
bool OnAdvise(const wxString& topic, const wxString& item, char *data, int size, wxIPCFormat format);
bool OnDisconnect();
DECLARE_CLASS(wxRemoteHtmlHelpController)
public:
wxRemoteHtmlHelpController(int style = wxHF_DEFAULT_STYLE);
- ~wxRemoteHtmlHelpController();
+ virtual ~wxRemoteHtmlHelpController();
void OnQuit(void);
void SetService(wxString& a_service);
public:
wxPluginApp(void);
- ~wxPluginApp(void);
+ virtual ~wxPluginApp(void);
// Find a frame given a NP instance
wxPluginFrame *FindFrame(NPP instance);
Create(data);
}
- ~wxPluginFrame(void);
+ virtual ~wxPluginFrame(void);
bool Create(const wxPluginData& data);
label = copystring(theLabel);
filename = copystring(theFile);
}
- ~TexNextPage(void)
+ virtual ~TexNextPage(void)
{
delete[] label;
delete[] filename;
int macroId;
TexMacroDef(int the_id, const wxChar *the_name, int n, bool ig, bool forbidLevel = FORBID_OK);
- ~TexMacroDef(void);
+ virtual ~TexMacroDef(void);
};
#define CHUNK_TYPE_MACRO 1
wxChar *filename;
wxStringList *keywords;
TexTopic(wxChar *f = NULL);
- ~TexTopic(void);
+ virtual ~TexTopic(void);
};
extern wxHashTable TopicTable;
void AddKeyWordForTopic(wxChar *topic, wxChar *entry, wxChar *filename = NULL);
wxChar *sectionNumber; // Section or figure number (as a string)
wxChar *sectionName; // name e.g. 'section'
TexRef(const wxChar *label, const wxChar *file, const wxChar *section, const wxChar *sectionN = NULL);
- ~TexRef(void);
+ virtual ~TexRef(void);
};
/*
else
macroBody = NULL;
}
- ~CustomMacro();
+ virtual ~CustomMacro();
};
bool ReadCustomMacros(const wxString& filename);
unsigned int blue;
ColourTableEntry(const wxChar *theName, unsigned int r, unsigned int g, unsigned int b);
- ~ColourTableEntry(void);
+ virtual ~ColourTableEntry(void);
};
extern wxList ColourTable;
{
public:
Tex2RTFConnection(wxChar *buf, int size);
- ~Tex2RTFConnection(void){};
+ virtual ~Tex2RTFConnection(void){}
bool OnExecute(const wxString& topic, wxChar *data, int size, wxIPCFormat format);
wxChar *OnRequest(const wxString& topic, const wxString& item, int *size, wxIPCFormat format);
};
public:
wxOleInputStream( GNOME_Stream stream );
- ~wxOleInputStream();
+ virtual ~wxOleInputStream();
bool Ok() const { return m_error; }
public:
wxOleServerEnv( const wxString &name, const wxString &version );
- ~wxOleServerEnv();
+ virtual ~wxOleServerEnv();
private:
public:
wxOleServer( const wxString &id );
- ~wxOleServer();
+ virtual ~wxOleServer();
virtual wxOleControl *CreateOleControl();
public:
wxOleControl( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
- ~wxOleControl();
+ virtual ~wxOleControl();
bool Create( wxWindowID id, long style = 0, const wxString &name = wxOleNameStr );
protected:
public:
MyApp();
- ~MyApp();
+ virtual ~MyApp();
virtual bool OnInit();