]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/xrc/xh_scwin.h
Fix wxPropertyGrid::GetPropertyRect when the last item is collapsed.
[wxWidgets.git] / include / wx / xrc / xh_scwin.h
index 7f9da82d6e6ac0a64098cdd4da6a6858d540d234..c2e370016f7170832025bc6e0ae8ee82e59b3247 100644 (file)
@@ -1,9 +1,8 @@
 /////////////////////////////////////////////////////////////////////////////
 /////////////////////////////////////////////////////////////////////////////
-// Name:        xh_scwin.h
+// Name:        wx/xrc/xh_scwin.h
 // Purpose:     XML resource handler for wxScrolledWindow
 // Author:      Vaclav Slavik
 // Created:     2002/10/18
 // Purpose:     XML resource handler for wxScrolledWindow
 // Author:      Vaclav Slavik
 // Created:     2002/10/18
-// RCS-ID:      $Id$
 // Copyright:   (c) 2002 Vaclav Slavik
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 // Copyright:   (c) 2002 Vaclav Slavik
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 #ifndef _WX_XH_SCWIN_H_
 #define _WX_XH_SCWIN_H_
 
 #ifndef _WX_XH_SCWIN_H_
 #define _WX_XH_SCWIN_H_
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-#pragma interface "xh_scwin.h"
-#endif
-
 #include "wx/xrc/xmlres.h"
 #include "wx/xrc/xmlres.h"
-#include "wx/defs.h"
-
 
 
+#if wxUSE_XRC
 
 
-class WXXMLDLLEXPORT wxScrolledWindowXmlHandler : public wxXmlResourceHandler
+class WXDLLIMPEXP_XRC wxScrolledWindowXmlHandler : public wxXmlResourceHandler
 {
 {
-DECLARE_DYNAMIC_CLASS(wxScrolledWindowXmlHandler)
+    DECLARE_DYNAMIC_CLASS(wxScrolledWindowXmlHandler)
+
 public:
     wxScrolledWindowXmlHandler();
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
 };
 
 public:
     wxScrolledWindowXmlHandler();
     virtual wxObject *DoCreateResource();
     virtual bool CanHandle(wxXmlNode *node);
 };
 
+#endif // wxUSE_XRC
 
 #endif // _WX_XH_SCWIN_H_
 
 #endif // _WX_XH_SCWIN_H_