]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/include/wx/xrc/xh_choic.h
Don't set insertion point if the text is the same in SetValue
[wxWidgets.git] / contrib / include / wx / xrc / xh_choic.h
index d2387781c579325f85c296012dca5433a4b53b2b..e36f19f118a3054ee17ecfdf9d6895b8aec97150 100644 (file)
 #ifndef _WX_XH_CHOIC_H_
 #define _WX_XH_CHOIC_H_
 
 #ifndef _WX_XH_CHOIC_H_
 #define _WX_XH_CHOIC_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "xh_choic.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
 #pragma interface "xh_choic.h"
 #endif
 
 #include "wx/xrc/xmlres.h"
 
-class WXXMLDLLEXPORT wxChoiceXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxChoiceXmlHandler : public wxXmlResourceHandler
 {
 {
+DECLARE_DYNAMIC_CLASS(wxChoiceXmlHandler)
 public:
     wxChoiceXmlHandler();
     virtual wxObject *DoCreateResource();
 public:
     wxChoiceXmlHandler();
     virtual wxObject *DoCreateResource();