X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bca8c756a30d54ee4fade96a091d78ad8988fd23..e4097f77c440b1f31a80fe273cc732c14d606096:/interface/wx/mousemanager.h diff --git a/interface/wx/mousemanager.h b/interface/wx/mousemanager.h index 2c8b05a1ae..ec09d90dda 100644 --- a/interface/wx/mousemanager.h +++ b/interface/wx/mousemanager.h @@ -3,7 +3,6 @@ // Purpose: documentation of wxMouseEventsManager class // Author: Vadim Zeitlin // Created: 2009-04-20 -// RCS-ID: $Id$ // Copyright: (c) 2009 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -31,12 +30,21 @@ (although this is the most common case) -- it can be any value which can be used to uniquely identify an item. - @library{core} + @library{wxcore} @category{events} */ class wxMouseEventsManager : public wxEvtHandler { public: + /** + Default constructor. + + You must call Create() to finish initializing the mouse events manager. + If possible, avoid the use of this constructor in favour of the other + one which fully initializes the mouse events manager immediately. + */ + wxMouseEventsManager(); + /** Constructor creates the manager for the window. @@ -46,6 +54,14 @@ public: */ wxMouseEventsManager(wxWindow *win); + /** + Finishes initialization of the object created using default + constructor. + + Currently always returns @true. + */ + bool Create(wxWindow *win); + protected: /** Must be overridden to return the item at the given position.