X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eefe6d4b7c63228b56b0688d289c39caab1f74d5..5f3565a2fb3d678b03cf8547f37e56b1efe786f5:/src/msw/popupwin.cpp diff --git a/src/msw/popupwin.cpp b/src/msw/popupwin.cpp index aa340cdc9f..dcd2272474 100644 --- a/src/msw/popupwin.cpp +++ b/src/msw/popupwin.cpp @@ -50,7 +50,7 @@ bool wxPopupWindow::Create(wxWindow *parent, int flags) Hide(); return wxPopupWindowBase::Create(parent) && - wxWindow::Create(parent, -1, + wxWindow::Create(parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, flags | wxPOPUP_WINDOW); } @@ -100,7 +100,7 @@ WXHWND wxPopupWindow::MSWGetParent() const bool wxPopupWindow::Show(bool show) { if ( !wxWindowMSW::Show(show) ) - return FALSE; + return false; if ( show ) { @@ -111,7 +111,7 @@ bool wxPopupWindow::Show(bool show) } } - return TRUE; + return true; } #endif // #if wxUSE_POPUPWIN