Hide();
return wxPopupWindowBase::Create(parent) &&
- wxWindow::Create(parent, -1,
+ wxWindow::Create(parent, wxID_ANY,
wxDefaultPosition, wxDefaultSize,
flags | wxPOPUP_WINDOW);
}
bool wxPopupWindow::Show(bool show)
{
if ( !wxWindowMSW::Show(show) )
- return FALSE;
+ return false;
if ( show )
{
}
}
- return TRUE;
+ return true;
}
#endif // #if wxUSE_POPUPWIN