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