]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/radiobox.h
don't return HTCLIENT for static bitmaps, this breaks mouse (leave) event generation
[wxWidgets.git] / include / wx / msw / radiobox.h
index 64d4d542cad485fae12d4763ac0761189297c8f2..89673b211f2600e75950a621f6852d7e7fbd6c44 100644 (file)
@@ -104,6 +104,9 @@ public:
     virtual bool SetFont(const wxFont& font);
     virtual bool ContainsHWND(WXHWND hWnd) const;
 
+    // we inherit a version returning false from wxStaticBox, override it again
+    virtual bool AcceptsFocus() const { return true; }
+
     void SetLabelFont(const wxFont& WXUNUSED(font)) {}
     void SetButtonFont(const wxFont& font) { SetFont(font); }