more warning fixes; removed references to wxToolBarBase from wxRTTI

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-07-22 01:42:41 +00:00
parent 0199503bf0
commit 2eb10e2a17
31 changed files with 89 additions and 50 deletions

View File

@@ -182,6 +182,9 @@ public:
// implement the base class pure virtual
virtual wxEvent *Clone() const { return new wxDialUpEvent(*this); }
private:
DECLARE_NO_COPY_CLASS(wxDialUpEvent)
};
// the type of dialup event handler function

View File

@@ -99,7 +99,7 @@ protected:
wxLayoutAlignment m_alignment;
private:
DECLARE_DYNAMIC_CLASS(wxQueryLayoutInfoEvent)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxQueryLayoutInfoEvent)
};
typedef void (wxEvtHandler::*wxQueryLayoutInfoEventFunction)(wxQueryLayoutInfoEvent&);
@@ -136,7 +136,7 @@ protected:
wxRect m_rect;
private:
DECLARE_DYNAMIC_CLASS(wxCalculateLayoutEvent)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxCalculateLayoutEvent)
};
typedef void (wxEvtHandler::*wxCalculateLayoutEventFunction)(wxCalculateLayoutEvent&);
@@ -192,7 +192,7 @@ private:
wxSize m_defaultSize;
private:
DECLARE_CLASS(wxSashLayoutWindow)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxSashLayoutWindow)
DECLARE_EVENT_TABLE()
};

View File

@@ -232,7 +232,7 @@ private:
wxSashDragStatus m_dragStatus;
private:
DECLARE_DYNAMIC_CLASS(wxSashEvent)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxSashEvent)
};
typedef void (wxEvtHandler::*wxSashEventFunction)(wxSashEvent&);

View File

@@ -90,7 +90,8 @@ public:
protected:
wxBitmap m_bitmap;
DECLARE_EVENT_TABLE()
DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxSplashScreenWindow)
};

View File

@@ -121,10 +121,8 @@ protected:
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxStatusBarGeneric)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxStatusBarGeneric)
};
#endif
// _WX_GENERIC_STATUSBR_H_
// vi:sts=4:sw=4:et

View File

@@ -91,7 +91,7 @@ public:
wxEnhMetaFile *Close();
private:
DECLARE_DYNAMIC_CLASS(wxEnhMetaFileDC)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxEnhMetaFileDC)
};
#if wxUSE_DRAG_AND_DROP
@@ -128,6 +128,8 @@ public:
protected:
wxEnhMetaFile m_metafile;
DECLARE_NO_COPY_CLASS(wxEnhMetaFileDataObject)
};
@@ -160,6 +162,8 @@ public:
protected:
wxEnhMetaFile m_metafile;
DECLARE_NO_COPY_CLASS(wxEnhMetaFileSimpleDataObject)
};
#endif // wxUSE_DRAG_AND_DROP

View File

@@ -49,7 +49,7 @@ public:
}
protected:
DECLARE_DYNAMIC_CLASS(wxMiniFrame)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxMiniFrame)
};
#endif

View File

@@ -150,7 +150,7 @@ private:
int m_nSel, // currently selected page
m_nOldSel; // previously selected page
DECLARE_DYNAMIC_CLASS(wxTabEvent)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxTabEvent)
};
typedef void (wxEvtHandler::*wxTabEventFunction)(wxTabEvent&);

View File

@@ -52,7 +52,7 @@ protected:
virtual wxSize DoGetBestSize() const;
private:
DECLARE_DYNAMIC_CLASS(wxToggleButton)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxToggleButton)
};
#endif // _WX_TOGGLEBUTTON_H_

View File

@@ -48,7 +48,7 @@ public:
void Clear() { m_itemsSel.Clear(); m_count = 0; m_defaultState = FALSE; }
// must be called when a new item is inserted/added
void OnItemAdd(size_t item) { wxFAIL_MSG( _T("TODO") ); }
void OnItemAdd(size_t WXUNUSED(item)) { wxFAIL_MSG( _T("TODO") ); }
// must be called when an item is deleted
void OnItemDelete(size_t item);

View File

@@ -164,7 +164,7 @@ protected:
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxToolBarSimple)
DECLARE_DYNAMIC_CLASS_NO_COPY(wxToolBarSimple)
};
#endif // wxUSE_TOOLBAR_SIMPLE