]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/private/listctrl.h
Don't use wxCHECK_W32API_VERSION() in #if when it can be undefined.
[wxWidgets.git] / include / wx / generic / private / listctrl.h
index 8b4a3db082ed6e1a42564aedcf33c28ca6655e62..e39de04dbf5e39921f46c55cf65a4fb01d3f651f 100644 (file)
@@ -346,12 +346,14 @@ public:
 
     virtual ~wxListHeaderWindow();
 
+    // We never need focus as we don't have any keyboard interface.
+    virtual bool AcceptsFocus() const { return false; }
+
     void DrawCurrent();
     void AdjustDC( wxDC& dc );
 
     void OnPaint( wxPaintEvent &event );
     void OnMouse( wxMouseEvent &event );
-    void OnSetFocus( wxFocusEvent &event );
 
     // needs refresh
     bool m_dirty;