]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/dialog.cpp
Fix wxGrid::AutoSizeColOrRow() logic for multicells.
[wxWidgets.git] / src / os2 / dialog.cpp
index cd8721178d1cc1ca8e40b03c89d16d18691a7d58..278b22752fa23d2c937010deb1af6b80a6fba595 100644 (file)
@@ -114,7 +114,7 @@ bool wxDialog::Create( wxWindow*       pParent,
     //
     // Must defer setting the title until after dialog is created and sized
     //
-    if (!rsTitle.IsNull())
+    if ( !rsTitle.empty() )
         SetTitle(rsTitle);
     return true;
 } // end of wxDialog::Create