]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/screenshotgen/src/customcombo.h
forwarding mouse moved events to the view under the mouse, not the firstResponder
[wxWidgets.git] / utils / screenshotgen / src / customcombo.h
index 8902abd3d6698a09b306b9563c6d37cc24ed506a..48ff63d5e005b7b5e01c93645854cfc8d00f5978 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     Define some custom wxComboCtrls
 // Author:      Utensil Candel (UtensilCandel@@gmail.com)
 // RCS-ID:      $Id$
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef WX_CUSTOM_COMBO_H
@@ -60,7 +60,8 @@ public:
                                   wxLC_LIST|wxLC_VRULES|wxBORDER_THEME);
     }
 
-    virtual wxWindow *GetControl() { return this; }
+    virtual wxWindow *GetControl()
+        { return this; }
 
     virtual void SetStringValue( const wxString& s )
     {
@@ -113,8 +114,8 @@ public:
     }
 
 protected:
-    int             m_value; // current item index
-    int             m_itemHere; // hot item in popup
+    int             m_value;        // current item index
+    int             m_itemHere;     // hot item in popup
 
 private:
     DECLARE_EVENT_TABLE()
@@ -158,7 +159,8 @@ public:
         return wxSize(minWidth, wxMin(80, maxHeight));
     }
 
-    virtual wxWindow *GetControl() { return this; }
+    virtual wxWindow *GetControl()
+        { return this; }
 
     // Needed by SetStringValue
     wxTreeItemId FindItemByText( wxTreeItemId parent, const wxString& text )
@@ -236,9 +238,8 @@ public:
     }
 
 protected:
-
-    wxTreeItemId        m_value; // current item index
-    wxTreeItemId        m_itemHere; // hot item in popup
+    wxTreeItemId        m_value;        // current item index
+    wxTreeItemId        m_itemHere;     // hot item in popup
 
 private:
     DECLARE_EVENT_TABLE()