]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
fix for HP aCC
[wxWidgets.git] / include / wx / univ / toplevel.h
index aace185fbded88b9a0d1f18ca9e4956557679c71..d72d9ac85aee72c4bb633ffea29726007f37e5e8 100644 (file)
@@ -88,7 +88,7 @@ enum
 // wxTopLevelWindow
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative,
+class WXDLLIMPEXP_CORE wxTopLevelWindow : public wxTopLevelWindowNative,
                                      public wxInputConsumer
 {
 public:
@@ -153,7 +153,7 @@ public:
 
     virtual wxSize GetMinSize() const;
 
-    virtual wxWindow *GetInputWindow() const { return wx_const_cast(wxTopLevelWindow*, this); }
+    virtual wxWindow *GetInputWindow() const { return const_cast<wxTopLevelWindow*>(this); }
 
 protected:
     virtual void DoGetClientSize(int *width, int *height) const;