]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dc.cpp
Don't test for DC validity in wxX11 wxDC text extent functions.
[wxWidgets.git] / src / os2 / dc.cpp
index 0b8cd600b5d48ce7586460ddf15d49c79f3f67ac..228e231c5f0068a3ab8705383288e05cc8858fe6 100644 (file)
@@ -2160,10 +2160,10 @@ void wxPMDCImpl::DoGetTextExtent(
     //
     if (!m_hPS)
     {
-       (void)wxMessageBox( wxT("wxWidgets core library")
-                           ,"Using uninitialized DC for measuring text!\n"
-                           ,wxICON_INFORMATION
-                           );
+    (void)wxMessageBox( wxT("wxWidgets core library")
+                ,"Using uninitialized DC for measuring text!\n"
+                ,wxICON_INFORMATION
+                );
     }
 
     bRc = ::GpiQueryTextBox( m_hPS