X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..8998887c224924d5f6f4601597c162d6429495e1:/src/msw/popupwin.cpp diff --git a/src/msw/popupwin.cpp b/src/msw/popupwin.cpp index 2417fc0e89..dcd2272474 100644 --- a/src/msw/popupwin.cpp +++ b/src/msw/popupwin.cpp @@ -6,7 +6,7 @@ // Created: 08.05.02 // RCS-ID: $Id$ // Copyright: (c) 2002 Vadim Zeitlin -// License: wxWidgets licence +// License: wxWindows licence /////////////////////////////////////////////////////////////////////////////// // ============================================================================ @@ -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