added wxRTTI to XRC handlers (patch #752996 by David Falkinder)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2003-06-12 18:10:38 +00:00
parent 71ff7c911a
commit 854e189f90
144 changed files with 208 additions and 0 deletions

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxBitmapXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxBitmapXmlHandler)
public:
wxBitmapXmlHandler();
virtual wxObject *DoCreateResource();
@ -28,6 +29,7 @@ public:
class WXXMLDLLEXPORT wxIconXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxIconXmlHandler)
public:
wxIconXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxBitmapButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxBitmapButtonXmlHandler)
public:
wxBitmapButtonXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxButtonXmlHandler)
public:
wxButtonXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxCalendarCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxCalendarCtrlXmlHandler)
public:
wxCalendarCtrlXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxCheckBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxCheckBoxXmlHandler)
public:
wxCheckBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxCheckListXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxCheckListXmlHandler)
public:
wxCheckListXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxChoiceXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxChoiceXmlHandler)
public:
wxChoiceXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxComboBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxComboBoxXmlHandler)
public:
wxComboBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxDialogXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxDialogXmlHandler)
public:
wxDialogXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxFrameXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxFrameXmlHandler)
public:
wxFrameXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -24,6 +24,7 @@
class WXXMLDLLEXPORT wxGaugeXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxGaugeXmlHandler)
enum
{
wxGAUGE_DEFAULT_RANGE = 100

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler)
public:
wxGenericDirCtrlXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -23,6 +23,7 @@
class WXXMLDLLEXPORT wxHtmlWindowXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxHtmlWindowXmlHandler)
public:
wxHtmlWindowXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxListBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxListBoxXmlHandler)
public:
wxListBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxListCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxListCtrlXmlHandler)
public:
wxListCtrlXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxMenuXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxMenuXmlHandler)
public:
wxMenuXmlHandler();
virtual wxObject *DoCreateResource();
@ -30,6 +31,7 @@ private:
class WXXMLDLLEXPORT wxMenuBarXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxMenuBarXmlHandler)
public:
wxMenuBarXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@ class WXDLLEXPORT wxNotebook;
class WXXMLDLLEXPORT wxNotebookXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxNotebookXmlHandler)
public:
wxNotebookXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler)
public:
wxPanelXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxRadioButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxRadioButtonXmlHandler)
public:
wxRadioButtonXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxRadioBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxRadioBoxXmlHandler)
public:
wxRadioBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxScrollBarXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxScrollBarXmlHandler)
enum
{
wxSL_DEFAULT_VALUE = 0,

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxScrolledWindowXmlHandler)
public:
wxScrolledWindowXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@ class WXDLLEXPORT wxSizer;
class WXXMLDLLEXPORT wxSizerXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSizerXmlHandler)
public:
wxSizerXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxSliderXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSliderXmlHandler)
enum
{
wxSL_DEFAULT_VALUE = 0,

View File

@ -21,6 +21,7 @@
#if wxUSE_SPINBTN
class WXXMLDLLEXPORT wxSpinButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
enum
{
wxSP_DEFAULT_VALUE = 0,
@ -38,6 +39,7 @@ public:
#if wxUSE_SPINCTRL
class WXXMLDLLEXPORT wxSpinCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
enum
{
wxSP_DEFAULT_VALUE = 0,

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxSplitterWindowXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSplitterWindowXmlHandler)
public:
wxSplitterWindowXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxStaticBitmapXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxStaticBitmapXmlHandler)
public:
wxStaticBitmapXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxStaticBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxStaticBoxXmlHandler)
public:
wxStaticBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxStaticLineXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxStaticLineXmlHandler)
public:
wxStaticLineXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxStaticTextXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxStaticTextXmlHandler)
public:
wxStaticTextXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxTextCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxTextCtrlXmlHandler)
public:
wxTextCtrlXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -23,6 +23,7 @@ class WXDLLEXPORT wxToolBar;
class WXXMLDLLEXPORT wxToolBarXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxToolBarXmlHandler)
public:
wxToolBarXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxTreeCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxTreeCtrlXmlHandler)
public:
wxTreeCtrlXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxUnknownWidgetXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxUnknownWidgetXmlHandler)
public:
wxUnknownWidgetXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -23,6 +23,7 @@
class WXXMLDLLEXPORT wxWizardXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxWizardXmlHandler)
public:
wxWizardXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -302,6 +302,7 @@ private:
class WXXMLDLLEXPORT wxXmlResourceHandler : public wxObject
{
DECLARE_ABSTRACT_CLASS(wxXmlResourceHandler)
public:
// Constructor.
wxXmlResourceHandler();

View File

@ -22,6 +22,7 @@
#include "wx/xrc/xh_bmp.h"
#include "wx/bitmap.h"
IMPLEMENT_DYNAMIC_CLASS(wxBitmapXmlHandler, wxXmlResourceHandler)
wxBitmapXmlHandler::wxBitmapXmlHandler()
: wxXmlResourceHandler()
@ -38,6 +39,8 @@ bool wxBitmapXmlHandler::CanHandle(wxXmlNode *node)
return IsOfClass(node, wxT("wxBitmap"));
}
IMPLEMENT_DYNAMIC_CLASS(wxIconXmlHandler, wxXmlResourceHandler)
wxIconXmlHandler::wxIconXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -22,6 +22,8 @@
#include "wx/xrc/xh_bmpbt.h"
#include <wx/bmpbuttn.h>
IMPLEMENT_DYNAMIC_CLASS(wxBitmapButtonXmlHandler, wxXmlResourceHandler)
wxBitmapButtonXmlHandler::wxBitmapButtonXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -22,6 +22,7 @@
#include "wx/xrc/xh_bttn.h"
#include "wx/button.h"
IMPLEMENT_DYNAMIC_CLASS(wxButtonXmlHandler, wxXmlResourceHandler)
wxButtonXmlHandler::wxButtonXmlHandler()
: wxXmlResourceHandler()

View File

@ -27,6 +27,7 @@
#include "wx/event.h"
#include "wx/calctrl.h"
IMPLEMENT_DYNAMIC_CLASS(wxCalendarCtrlXmlHandler, wxXmlResourceHandler)
wxCalendarCtrlXmlHandler::wxCalendarCtrlXmlHandler()
: wxXmlResourceHandler()

View File

@ -24,6 +24,8 @@
#if wxUSE_CHECKBOX
IMPLEMENT_DYNAMIC_CLASS(wxCheckBoxXmlHandler, wxXmlResourceHandler)
wxCheckBoxXmlHandler::wxCheckBoxXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -25,6 +25,8 @@
#include "wx/checklst.h"
#include "wx/intl.h"
IMPLEMENT_DYNAMIC_CLASS(wxCheckListXmlHandler, wxXmlResourceHandler)
wxCheckListXmlHandler::wxCheckListXmlHandler()
: wxXmlResourceHandler(), m_insideBox(FALSE)
{

View File

@ -23,6 +23,8 @@
#include "wx/choice.h"
#include "wx/intl.h"
IMPLEMENT_DYNAMIC_CLASS(wxChoiceXmlHandler, wxXmlResourceHandler)
wxChoiceXmlHandler::wxChoiceXmlHandler()
: wxXmlResourceHandler() , m_insideBox(FALSE)
{

View File

@ -25,6 +25,8 @@
#if wxUSE_COMBOBOX
IMPLEMENT_DYNAMIC_CLASS(wxComboBoxXmlHandler, wxXmlResourceHandler)
wxComboBoxXmlHandler::wxComboBoxXmlHandler()
: wxXmlResourceHandler() , m_insideBox(FALSE)
{

View File

@ -24,6 +24,7 @@
#include "wx/log.h"
#include "wx/intl.h"
IMPLEMENT_DYNAMIC_CLASS(wxDialogXmlHandler, wxXmlResourceHandler)
wxDialogXmlHandler::wxDialogXmlHandler() : wxXmlResourceHandler()
{

View File

@ -24,6 +24,7 @@
#include "wx/log.h"
#include "wx/intl.h"
IMPLEMENT_DYNAMIC_CLASS(wxFrameXmlHandler, wxXmlResourceHandler)
wxFrameXmlHandler::wxFrameXmlHandler() : wxXmlResourceHandler()
{

View File

@ -24,6 +24,8 @@
#if wxUSE_GAUGE
IMPLEMENT_DYNAMIC_CLASS(wxGaugeXmlHandler, wxXmlResourceHandler)
wxGaugeXmlHandler::wxGaugeXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -26,6 +26,8 @@
#include "wx/xrc/xh_gdctl.h"
#include "wx/dirctrl.h"
IMPLEMENT_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler, wxXmlResourceHandler)
wxGenericDirCtrlXmlHandler::wxGenericDirCtrlXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -26,6 +26,7 @@
#include "wx/html/htmlwin.h"
#include "wx/filesys.h"
IMPLEMENT_DYNAMIC_CLASS(wxHtmlWindowXmlHandler, wxXmlResourceHandler)
wxHtmlWindowXmlHandler::wxHtmlWindowXmlHandler()
: wxXmlResourceHandler()

View File

@ -23,6 +23,8 @@
#include "wx/listbox.h"
#include "wx/intl.h"
IMPLEMENT_DYNAMIC_CLASS(wxListBoxXmlHandler, wxXmlResourceHandler)
wxListBoxXmlHandler::wxListBoxXmlHandler()
: wxXmlResourceHandler() , m_insideBox(FALSE)
{

View File

@ -24,6 +24,8 @@
#include "wx/listctrl.h"
IMPLEMENT_DYNAMIC_CLASS(wxListCtrlXmlHandler, wxXmlResourceHandler)
wxListCtrlXmlHandler::wxListCtrlXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -23,6 +23,7 @@
#include "wx/menu.h"
#include "wx/frame.h"
IMPLEMENT_DYNAMIC_CLASS(wxMenuXmlHandler, wxXmlResourceHandler)
wxMenuXmlHandler::wxMenuXmlHandler() :
wxXmlResourceHandler(), m_insideMenu(FALSE)
@ -110,6 +111,8 @@ bool wxMenuXmlHandler::CanHandle(wxXmlNode *node)
);
}
IMPLEMENT_DYNAMIC_CLASS(wxMenuBarXmlHandler, wxXmlResourceHandler)
wxMenuBarXmlHandler::wxMenuBarXmlHandler() : wxXmlResourceHandler()
{
XRC_ADD_STYLE(wxMB_DOCKABLE);

View File

@ -27,6 +27,8 @@
#include "wx/notebook.h"
#include "wx/sizer.h"
IMPLEMENT_DYNAMIC_CLASS(wxNotebookXmlHandler, wxXmlResourceHandler)
wxNotebookXmlHandler::wxNotebookXmlHandler()
: wxXmlResourceHandler(), m_isInside(FALSE), m_notebook(NULL)
{

View File

@ -22,6 +22,7 @@
#include "wx/xrc/xh_panel.h"
#include "wx/panel.h"
IMPLEMENT_DYNAMIC_CLASS(wxPanelXmlHandler, wxXmlResourceHandler)
wxPanelXmlHandler::wxPanelXmlHandler() : wxXmlResourceHandler()
{

View File

@ -24,6 +24,8 @@
#if wxUSE_RADIOBOX
IMPLEMENT_DYNAMIC_CLASS(wxRadioButtonXmlHandler, wxXmlResourceHandler)
wxRadioButtonXmlHandler::wxRadioButtonXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -25,6 +25,8 @@
#if wxUSE_RADIOBOX
IMPLEMENT_DYNAMIC_CLASS(wxRadioBoxXmlHandler, wxXmlResourceHandler)
wxRadioBoxXmlHandler::wxRadioBoxXmlHandler()
: wxXmlResourceHandler(), m_insideBox(FALSE)
{

View File

@ -22,6 +22,7 @@
#include "wx/xrc/xh_scrol.h"
#include "wx/scrolbar.h"
IMPLEMENT_DYNAMIC_CLASS(wxScrollBarXmlHandler, wxXmlResourceHandler)
wxScrollBarXmlHandler::wxScrollBarXmlHandler()
: wxXmlResourceHandler()

View File

@ -22,6 +22,7 @@
#include "wx/xrc/xh_scwin.h"
#include "wx/scrolwin.h"
IMPLEMENT_DYNAMIC_CLASS(wxScrolledWindowXmlHandler, wxXmlResourceHandler)
wxScrolledWindowXmlHandler::wxScrolledWindowXmlHandler()
: wxXmlResourceHandler()

View File

@ -27,6 +27,8 @@
#include "wx/panel.h"
#include "wx/tokenzr.h"
IMPLEMENT_DYNAMIC_CLASS(wxSizerXmlHandler, wxXmlResourceHandler)
bool wxSizerXmlHandler::IsSizerNode(wxXmlNode *node)
{
return (IsOfClass(node, wxT("wxBoxSizer"))) ||

View File

@ -24,6 +24,8 @@
#if wxUSE_SLIDER
IMPLEMENT_DYNAMIC_CLASS(wxSliderXmlHandler, wxXmlResourceHandler)
wxSliderXmlHandler::wxSliderXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -24,6 +24,8 @@
#if wxUSE_SPINBTN
IMPLEMENT_DYNAMIC_CLASS(wxSpinButtonXmlHandler, wxXmlResourceHandler)
wxSpinButtonXmlHandler::wxSpinButtonXmlHandler()
: wxXmlResourceHandler()
{
@ -61,6 +63,8 @@ bool wxSpinButtonXmlHandler::CanHandle(wxXmlNode *node)
#if wxUSE_SPINCTRL
IMPLEMENT_DYNAMIC_CLASS(wxSpinCtrlXmlHandler, wxXmlResourceHandler)
wxSpinCtrlXmlHandler::wxSpinCtrlXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -23,6 +23,8 @@
#include "wx/splitter.h"
#include "wx/log.h"
IMPLEMENT_DYNAMIC_CLASS(wxSplitterWindowXmlHandler, wxXmlResourceHandler)
wxSplitterWindowXmlHandler::wxSplitterWindowXmlHandler() : wxXmlResourceHandler()
{
XRC_ADD_STYLE(wxSP_3D);

View File

@ -22,6 +22,8 @@
#include "wx/xrc/xh_stbmp.h"
#include "wx/statbmp.h"
IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmapXmlHandler, wxXmlResourceHandler)
wxStaticBitmapXmlHandler::wxStaticBitmapXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -22,6 +22,8 @@
#include "wx/xrc/xh_stbox.h"
#include "wx/statbox.h"
IMPLEMENT_DYNAMIC_CLASS(wxStaticBoxXmlHandler, wxXmlResourceHandler)
wxStaticBoxXmlHandler::wxStaticBoxXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -24,6 +24,8 @@
#if wxUSE_STATLINE
IMPLEMENT_DYNAMIC_CLASS(wxStaticLineXmlHandler, wxXmlResourceHandler)
wxStaticLineXmlHandler::wxStaticLineXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -22,6 +22,8 @@
#include "wx/xrc/xh_sttxt.h"
#include "wx/stattext.h"
IMPLEMENT_DYNAMIC_CLASS(wxStaticTextXmlHandler, wxXmlResourceHandler)
wxStaticTextXmlHandler::wxStaticTextXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -22,6 +22,8 @@
#include "wx/xrc/xh_text.h"
#include "wx/textctrl.h"
IMPLEMENT_DYNAMIC_CLASS(wxTextCtrlXmlHandler, wxXmlResourceHandler)
wxTextCtrlXmlHandler::wxTextCtrlXmlHandler() : wxXmlResourceHandler()
{
XRC_ADD_STYLE(wxTE_PROCESS_ENTER);

View File

@ -25,6 +25,8 @@
#if wxUSE_TOOLBAR
IMPLEMENT_DYNAMIC_CLASS(wxToolBarXmlHandler, wxXmlResourceHandler)
wxToolBarXmlHandler::wxToolBarXmlHandler()
: wxXmlResourceHandler(), m_isInside(FALSE), m_toolbar(NULL)
{

View File

@ -22,6 +22,7 @@
#include "wx/xrc/xh_tree.h"
#include "wx/treectrl.h"
IMPLEMENT_DYNAMIC_CLASS(wxTreeCtrlXmlHandler, wxXmlResourceHandler)
wxTreeCtrlXmlHandler::wxTreeCtrlXmlHandler()
: wxXmlResourceHandler()

View File

@ -77,6 +77,8 @@ void wxUnknownControlContainer::RemoveChild(wxWindowBase *child)
}
IMPLEMENT_DYNAMIC_CLASS(wxUnknownWidgetXmlHandler, wxXmlResourceHandler)
wxUnknownWidgetXmlHandler::wxUnknownWidgetXmlHandler()
: wxXmlResourceHandler()
{

View File

@ -25,6 +25,7 @@
#include "wx/log.h"
#include "wx/wizard.h"
IMPLEMENT_DYNAMIC_CLASS(wxWizardXmlHandler, wxXmlResourceHandler)
wxWizardXmlHandler::wxWizardXmlHandler() : wxXmlResourceHandler()
{

View File

@ -143,6 +143,7 @@ bool wxXmlResource::Load(const wxString& filemask)
}
IMPLEMENT_ABSTRACT_CLASS(wxXmlResourceHandler, wxObject)
void wxXmlResource::AddHandler(wxXmlResourceHandler *handler)
{

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxBitmapXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxBitmapXmlHandler)
public:
wxBitmapXmlHandler();
virtual wxObject *DoCreateResource();
@ -28,6 +29,7 @@ public:
class WXXMLDLLEXPORT wxIconXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxIconXmlHandler)
public:
wxIconXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxBitmapButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxBitmapButtonXmlHandler)
public:
wxBitmapButtonXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxButtonXmlHandler)
public:
wxButtonXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxCalendarCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxCalendarCtrlXmlHandler)
public:
wxCalendarCtrlXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxCheckBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxCheckBoxXmlHandler)
public:
wxCheckBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxCheckListXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxCheckListXmlHandler)
public:
wxCheckListXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxChoiceXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxChoiceXmlHandler)
public:
wxChoiceXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxComboBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxComboBoxXmlHandler)
public:
wxComboBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxDialogXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxDialogXmlHandler)
public:
wxDialogXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxFrameXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxFrameXmlHandler)
public:
wxFrameXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -24,6 +24,7 @@
class WXXMLDLLEXPORT wxGaugeXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxGaugeXmlHandler)
enum
{
wxGAUGE_DEFAULT_RANGE = 100

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxGenericDirCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxGenericDirCtrlXmlHandler)
public:
wxGenericDirCtrlXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -23,6 +23,7 @@
class WXXMLDLLEXPORT wxHtmlWindowXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxHtmlWindowXmlHandler)
public:
wxHtmlWindowXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxListBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxListBoxXmlHandler)
public:
wxListBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxListCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxListCtrlXmlHandler)
public:
wxListCtrlXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxMenuXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxMenuXmlHandler)
public:
wxMenuXmlHandler();
virtual wxObject *DoCreateResource();
@ -30,6 +31,7 @@ private:
class WXXMLDLLEXPORT wxMenuBarXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxMenuBarXmlHandler)
public:
wxMenuBarXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@ class WXDLLEXPORT wxNotebook;
class WXXMLDLLEXPORT wxNotebookXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxNotebookXmlHandler)
public:
wxNotebookXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxPanelXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxPanelXmlHandler)
public:
wxPanelXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxRadioButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxRadioButtonXmlHandler)
public:
wxRadioButtonXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -21,6 +21,7 @@
class WXXMLDLLEXPORT wxRadioBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxRadioBoxXmlHandler)
public:
wxRadioBoxXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxScrollBarXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxScrollBarXmlHandler)
enum
{
wxSL_DEFAULT_VALUE = 0,

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxScrolledWindowXmlHandler)
public:
wxScrolledWindowXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@ class WXDLLEXPORT wxSizer;
class WXXMLDLLEXPORT wxSizerXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSizerXmlHandler)
public:
wxSizerXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -22,6 +22,7 @@
class WXXMLDLLEXPORT wxSliderXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSliderXmlHandler)
enum
{
wxSL_DEFAULT_VALUE = 0,

View File

@ -21,6 +21,7 @@
#if wxUSE_SPINBTN
class WXXMLDLLEXPORT wxSpinButtonXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSpinButtonXmlHandler)
enum
{
wxSP_DEFAULT_VALUE = 0,
@ -38,6 +39,7 @@ public:
#if wxUSE_SPINCTRL
class WXXMLDLLEXPORT wxSpinCtrlXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSpinCtrlXmlHandler)
enum
{
wxSP_DEFAULT_VALUE = 0,

View File

@ -19,6 +19,7 @@
class WXXMLDLLEXPORT wxSplitterWindowXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxSplitterWindowXmlHandler)
public:
wxSplitterWindowXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxStaticBitmapXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxStaticBitmapXmlHandler)
public:
wxStaticBitmapXmlHandler();
virtual wxObject *DoCreateResource();

View File

@ -20,6 +20,7 @@
class WXXMLDLLEXPORT wxStaticBoxXmlHandler : public wxXmlResourceHandler
{
DECLARE_DYNAMIC_CLASS(wxStaticBoxXmlHandler)
public:
wxStaticBoxXmlHandler();
virtual wxObject *DoCreateResource();

Some files were not shown because too many files have changed in this diff Show More