]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toplevel.cpp
Fixed a '&' that should be an '&&'
[wxWidgets.git] / src / os2 / toplevel.cpp
index ced8e43b349d336ac0013ffbe76246ecf33c5e55..b135598646582694ac66c5fe2e53b4f33fa997cf 100644 (file)
@@ -52,8 +52,9 @@
 wxWindowList wxModelessWindows;
 
 // the name of the default wxWindows class
-extern const wxChar* wxCanvasClassName;
-extern const wxChar* wxFrameClassName;
+extern void          wxAssociateWinWithHandle( HWND         hWnd
+                                              ,wxWindowOS2* pWin
+                                             );
 
 // ============================================================================
 // wxTopLevelWindowMSW implementation
@@ -529,6 +530,15 @@ void wxTopLevelWindowOS2::AlterChildPos()
     ::WinQueryWindowPos(GetHwnd(), &m_vSwpClient);
 } // end of wxTopLevelWindowOS2::AlterChildPos
 
+void wxTopLevelWindowOS2::UpdateInternalSize(
+  wxWindow*                         pChild
+, int                               nHeight
+)
+{
+    pChild->MoveChildren(m_vSwpClient.cy - nHeight);
+    ::WinQueryWindowPos(GetHwnd(), &m_vSwpClient);
+} // end of wxTopLevelWindowOS2::UpdateInternalSize
+
 // ----------------------------------------------------------------------------
 // wxTopLevelWindowOS2 client size
 // ----------------------------------------------------------------------------