]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/scrolbar.cpp
Under Cygwin, in platform.h default to wxMSW unless otherwise specified.
[wxWidgets.git] / src / os2 / scrolbar.cpp
index a1f56be9c7de4263eae3abd3660613c2ee2389ed..a27773d3080f62eee90b6c05c1110151a9d9c3d6 100644 (file)
@@ -40,7 +40,7 @@ bool wxScrollBar::Create (
     int                             nWidth = rSize.x;
     int                             nHeight = rSize.y;
 
-    if (!parent)
+    if (!pParent)
         return FALSE;
     pParent->AddChild(this);
     SetName(rsName);