added default ctor to wxMouseEventsManager, this is convenient when deriving window classes (which must provide default ctors to e.g. allow loading them from XRC) from it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-05-31 14:43:01 +00:00
parent 0598625cb2
commit 4b14a2f79b
3 changed files with 39 additions and 7 deletions

View File

@@ -37,6 +37,15 @@
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 +55,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.