]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed wxWindowOS2::Reparent.
authorStefan Neis <Stefan.Neis@t-online.de>
Sat, 17 May 2008 09:40:37 +0000 (09:40 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Sat, 17 May 2008 09:40:37 +0000 (09:40 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/os2/window.h
src/os2/window.cpp

index 70474ba32af86526e3a23b8102f2d19283c73b2e..4aeb845c43aa952049fb9776770abb185b38d593 100644 (file)
@@ -85,7 +85,7 @@ public:
     virtual void     DoEnable(bool bEnable);
     virtual void     SetFocus(void);
     virtual void     SetFocusFromKbd(void);
-    virtual bool     Reparent(wxWindow* pNewParent);
+    virtual bool     Reparent(wxWindowBase* pNewParent);
     virtual void     WarpPointer( int x
                                  ,int y
                                 );
@@ -536,12 +536,6 @@ private:
     DECLARE_DYNAMIC_CLASS(wxWindowOS2);
     DECLARE_NO_COPY_CLASS(wxWindowOS2)
     DECLARE_EVENT_TABLE()
-
-    //
-    // Virtual function hiding supression
-    //
-    inline virtual bool Reparent(wxWindowBase* pNewParent)
-    { return(wxWindowBase::Reparent(pNewParent));}
 }; // end of wxWindow
 
 class wxWindowCreationHook
index 4a631a84520a848d5b4aa7094c52b4ec9edeb564..444a0756c2312a3224852fa1a1a630ac1fdde6c4 100644 (file)
@@ -1094,7 +1094,7 @@ void wxWindowOS2::OnIdle(
 //
 // Set this window to be the child of 'parent'.
 //
-bool wxWindowOS2::Reparent( wxWindow* pParent)
+bool wxWindowOS2::Reparent( wxWindowBase* pParent)
 {
     if (!wxWindowBase::Reparent(pParent))
         return false;