#include "wx/xrc/xmlres.h"
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
class WXDLLIMPEXP_XRC wxBitmapButtonXmlHandler : public wxXmlResourceHandler
virtual bool CanHandle(wxXmlNode *node);
};
-#endif //wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#endif // _WX_XH_BMPBT_H_
#include "wx/defs.h"
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/string.h"
#include "wx/dynarray.h"
#define GetXMLID GetXRCID
#endif
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#endif // _WX_XMLRES_H_
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_bmp.h"
#include "wx/bitmap.h"
return IsOfClass(node, wxT("wxIcon"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_bmpbt.h"
#include <wx/bmpbuttn.h>
return IsOfClass(node, wxT("wxBitmapButton"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_bttn.h"
#include "wx/button.h"
return IsOfClass(node, wxT("wxButton"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_CALENDARCTRL
+#if wxUSE_XRC && wxUSE_CALENDARCTRL
#include "wx/xrc/xh_cald.h"
#include "wx/event.h"
return IsOfClass(node, wxT("wxCalendarCtrl"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_CALENDARCTRL
+#endif // wxUSE_XRC && wxUSE_CALENDARCTRL
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_CHECKBOX
+#if wxUSE_XRC && wxUSE_CHECKBOX
#include "wx/xrc/xh_chckb.h"
#include "wx/checkbox.h"
return IsOfClass(node, wxT("wxCheckBox"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_CHECKBOX
+#endif // wxUSE_XRC && wxUSE_CHECKBOX
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#if wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
#endif // wxUSE_OWNER_DRAWN || !defined(__WXMSW__)
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_choic.h"
#include "wx/choice.h"
(m_insideBox && node->GetName() == wxT("item")));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_COMBOBOX
+#if wxUSE_XRC && wxUSE_COMBOBOX
#include "wx/xrc/xh_combo.h"
#include "wx/combobox.h"
(m_insideBox && node->GetName() == wxT("item")));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_COMBOBOX
+#endif // wxUSE_XRC && wxUSE_COMBOBOX
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_dlg.h"
#include "wx/dialog.h"
return IsOfClass(node, wxT("wxDialog"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_frame.h"
#include "wx/frame.h"
return IsOfClass(node, wxT("wxFrame"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_GAUGE
+#if wxUSE_XRC && wxUSE_GAUGE
#include "wx/xrc/xh_gauge.h"
#include "wx/gauge.h"
return IsOfClass(node, wxT("wxGauge"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_GAUGE
+#endif // wxUSE_XRC && wxUSE_GAUGE
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_DIRDLG
+#if wxUSE_XRC && wxUSE_DIRDLG
#include "wx/textctrl.h"
#include "wx/xrc/xh_gdctl.h"
return IsOfClass(node, wxT("wxGenericDirCtrl"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_DIRDLG
+#endif // wxUSE_XRC && wxUSE_DIRDLG
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_HTML
+#if wxUSE_XRC && wxUSE_HTML
#include "wx/xrc/xh_html.h"
return IsOfClass(node, wxT("wxHtmlWindow"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_HTML
+#endif // wxUSE_XRC && wxUSE_HTML
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_listb.h"
#include "wx/listbox.h"
(m_insideBox && node->GetName() == wxT("item")));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/textctrl.h"
#include "wx/xrc/xh_listc.h"
return IsOfClass(node, wxT("wxListCtrl"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_menu.h"
#include "wx/menu.h"
return IsOfClass(node, wxT("wxMenuBar"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_NOTEBOOK
+#if wxUSE_XRC && wxUSE_NOTEBOOK
#include "wx/xrc/xh_notbk.h"
(m_isInside && IsOfClass(node, wxT("notebookpage"))));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_NOTEBOOK
+#endif // wxUSE_XRC && wxUSE_NOTEBOOK
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_panel.h"
#include "wx/panel.h"
return IsOfClass(node, wxT("wxPanel"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_RADIOBOX
+#if wxUSE_XRC && wxUSE_RADIOBOX
#include "wx/xrc/xh_radbt.h"
#include "wx/radiobut.h"
return IsOfClass(node, wxT("wxRadioButton"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_NOTEBOOK
+#endif // wxUSE_XRC && wxUSE_NOTEBOOK
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_RADIOBOX
+#if wxUSE_XRC && wxUSE_RADIOBOX
#include "wx/xrc/xh_radbx.h"
#include "wx/radiobox.h"
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_scrol.h"
#include "wx/scrolbar.h"
return IsOfClass(node, wxT("wxScrollBar"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_scwin.h"
#include "wx/scrolwin.h"
return IsOfClass(node, wxT("wxScrolledWindow"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_sizer.h"
#include "wx/sizer.h"
m_parentSizer->Add(sitem);
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_SLIDER
+#if wxUSE_XRC && wxUSE_SLIDER
#include "wx/xrc/xh_slidr.h"
#include "wx/slider.h"
return IsOfClass(node, wxT("wxSlider"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_SLIDER
+#endif // wxUSE_XRC && wxUSE_SLIDER
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_spin.h"
#endif // wxUSE_SPINCTRL
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_split.h"
#include "wx/splitter.h"
return IsOfClass(node, wxT("wxSplitterWindow"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_STATUSBAR
+#if wxUSE_XRC && wxUSE_STATUSBAR
#include "wx/frame.h"
#include "wx/string.h"
return IsOfClass(node, wxT("wxStatusBar"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_STATUSBAR
+#endif // wxUSE_XRC && wxUSE_STATUSBAR
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_stbmp.h"
#include "wx/statbmp.h"
return IsOfClass(node, wxT("wxStaticBitmap"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_stbox.h"
#include "wx/statbox.h"
return IsOfClass(node, wxT("wxStaticBox"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_STATLINE
+#if wxUSE_XRC && wxUSE_STATLINE
#include "wx/xrc/xh_stlin.h"
#include "wx/statline.h"
return IsOfClass(node, wxT("wxStaticLine"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_STATLINE
+#endif // wxUSE_XRC && wxUSE_STATLINE
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_sttxt.h"
#include "wx/stattext.h"
return IsOfClass(node, wxT("wxStaticText"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_text.h"
#include "wx/textctrl.h"
return IsOfClass(node, wxT("wxTextCtrl"));
}
-#endif // wxUSE_XML && wxUSE_XRC
+#endif // wxUSE_XRC
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_TOGGLEBTN
+#if wxUSE_XRC && wxUSE_TOGGLEBTN
#include "wx/xrc/xh_tglbtn.h"
#include "wx/tglbtn.h"
return IsOfClass(node, wxT("wxToggleButton"));
}
-#endif // wxUSE_XML && wxUSE_XRC && wxUSE_TOGGLEBTN
+#endif // wxUSE_XRC && wxUSE_TOGGLEBTN
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_TOOLBAR
+#if wxUSE_XRC && wxUSE_TOOLBAR
#include "wx/xrc/xh_toolb.h"
#include "wx/toolbar.h"
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_tree.h"
#include "wx/treectrl.h"
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xh_unkwn.h"
#include "wx/window.h"
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC && wxUSE_WIZARDDLG
+#if wxUSE_XRC && wxUSE_WIZARDDLG
#include "wx/xrc/xh_wizrd.h"
#include "wx/log.h"
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/dialog.h"
#include "wx/panel.h"
#pragma hdrstop
#endif
-#if wxUSE_XML && wxUSE_XRC
+#if wxUSE_XRC
#include "wx/xrc/xmlres.h"
#include "wx/xrc/xh_all.h"