]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/wincmn.cpp
Stripped out miscellaneous Motif/Xt-specific code
[wxWidgets.git] / src / common / wincmn.cpp
index 24158367eb3f7d855ae30313308643cc53985b3d..ce68b5ac34ac2e916e0eaa1d26ae815de77ce137 100644 (file)
@@ -1161,6 +1161,9 @@ bool wxWindowBase::Layout()
         GetClientSize(&w, &h);
 
         GetSizer()->SetDimension( 0, 0, w, h );
+#if defined __WXPM__
+        OS2Layout(w, h);
+#endif
     }
     else
     {
@@ -1548,6 +1551,11 @@ void wxWindowBase::OnMiddleClick( wxMouseEvent& event )
     {
         // don't translate these strings
         wxString port;
+
+#ifdef __WXUNIVERSAL__
+        port = _T("Univ/");
+#endif // __WXUNIVERSAL__
+
         switch ( wxGetOsVersion() )
         {
             case wxMOTIF_X:     port = _T("Motif"); break;
@@ -1575,7 +1583,7 @@ void wxWindowBase::OnMiddleClick( wxMouseEvent& event )
 
         wxMessageBox(wxString::Format(
                                       _T(
-                                        "       wxWindows Library (%s port)\nVersion %u.%u.%u%s, compiled at %s %s\n   Copyright (c) 1995-2001 wxWindows team"
+                                        "       wxWindows Library (%s port)\nVersion %u.%u.%u%s, compiled at %s %s\n   Copyright (c) 1995-2002 wxWindows team"
                                         ),
                                       port.c_str(),
                                       wxMAJOR_VERSION,
@@ -1662,7 +1670,7 @@ struct WXDLLEXPORT wxWindowNext
 void wxWindowBase::CaptureMouse()
 {
     wxLogTrace(_T("mousecapture"), _T("CaptureMouse(0x%08x)"), this);
-    
+
     wxWindow *winOld = GetCapture();
     if ( winOld )
     {