]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
Stub out GetMatchingPair() for now to allow us to use the generic wxDVC on Cocoa.
[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;