X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57ff8a875bff6f8ba8a6616ed7095b74a835c622..695c21b11876abafeb68195e34f9f55816f92949:/src/os2/scrolbar.cpp?ds=sidebyside diff --git a/src/os2/scrolbar.cpp b/src/os2/scrolbar.cpp index a1f56be9c7..a27773d308 100644 --- a/src/os2/scrolbar.cpp +++ b/src/os2/scrolbar.cpp @@ -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);