]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/control.cpp
SourceForge patch #654210 to fix naming/numbering shared libs under OS X
[wxWidgets.git] / src / msw / control.cpp
index 6593d6eed17d4f5b2308390a849e18f69ab613a0..ba76513c757bb1952bb49510c4e88a471260524a 100644 (file)
@@ -156,7 +156,7 @@ bool wxControl::MSWCreateControl(const wxChar *classname,
     InheritAttributes();
 
     // set the size now if no initial size specified
-    if ( w == 0 || h == 0 )
+    if ( w <= 0 || h <= 0 )
     {
         SetBestSize(size);
     }