X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/655719367ac5e131d9642e5783f3ecf64d1a3385..eaff0f0d3f7828c2acd9ebde4979acc0b3fa43b5:/include/wx/popupwin.h diff --git a/include/wx/popupwin.h b/include/wx/popupwin.h index 18ca40e2f3..d95c3877d2 100644 --- a/include/wx/popupwin.h +++ b/include/wx/popupwin.h @@ -46,7 +46,7 @@ public: virtual void Position(const wxPoint& ptOrigin, const wxSize& size); - virtual bool IsTopLevel() const { return TRUE; } + virtual bool IsTopLevel() const { return true; } DECLARE_NO_COPY_CLASS(wxPopupWindowBase) }; @@ -97,9 +97,9 @@ public: // // VZ: where is this used?? virtual bool CanDismiss() - { return TRUE; } + { return true; } - // called when a mouse is pressed while the popup is shown: return TRUE + // called when a mouse is pressed while the popup is shown: return true // from here to prevent its normal processing by the popup (which consists // in dismissing it if the mouse is cilcked outside it) virtual bool ProcessLeftDown(wxMouseEvent& event);