xh_odcombo.h

Go to the documentation of this file.
00001 
00002 // Name:        wx/xrc/xh_odcombo.h
00003 // Purpose:     XML resource handler for wxOwnerDrawnComboBox
00004 // Author:      Alex Bligh - based on wx/xrc/xh_combo.h
00005 // Created:     2006/06/19
00006 // RCS-ID:      $Id: xh_odcombo.h,v 1.1 2006/06/20 12:26:05 ABX Exp $
00007 // Copyright:   (c) 2006 Alex Bligh
00008 // Licence:     wxWindows licence
00010 
00011 #ifndef _WXXTRA_XH_ODCOMBO_H_
00012 #define _WXXTRA_XH_ODCOMBO_H_
00013 
00014 #include <wx/wx.h>
00015 
00016 #if wxUSE_ODCOMBOBOX
00017 #undef wxXTRA_XH_ODCOMBO
00018 #include <wx/xrc/xh_odcombo.h>
00019 #else
00020 #define wxXTRA_XH_ODCOMBO 1
00021 
00022 #include <wx/xrc/xmlres.h>
00023 
00024 class WXDLLIMPEXP_XRC wxOwnerDrawnComboBoxXmlHandler : public wxXmlResourceHandler
00025 {
00026 DECLARE_DYNAMIC_CLASS(wxOwnerDrawnComboBoxXmlHandler)
00027 public:
00028     wxOwnerDrawnComboBoxXmlHandler();
00029     virtual wxObject *DoCreateResource();
00030     virtual bool CanHandle(wxXmlNode *node);
00031 private:
00032     bool m_insideBox;
00033     wxArrayString strList;
00034 };
00035 
00036 #endif // wxUSE_ODCOMBOBOX
00037 
00038 #endif // _WXXTA_XH_ODCOMBO_H_

Generated on Sat Nov 10 03:49:02 2007 for Camelot by  doxygen 1.4.4