]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/mousemanager.h
Add wxColour::{Set,Get}RGB[A]().
[wxWidgets.git] / interface / wx / mousemanager.h
index 2c8b05a1ae6ac256f0b737353aaf8e17927a573b..154f39064367a742b9ac4f15e4c7a61bf837cc7d 100644 (file)
 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.