]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/inpcons.h
compilation fixes
[wxWidgets.git] / include / wx / univ / inpcons.h
index bd099c0cd0cd72109ce88379fa63347113f0be1d..15325534fc0f0d184e2da2d304561864a48a2e0b 100644 (file)
@@ -6,7 +6,7 @@
 // Created:     14.08.00
 // RCS-ID:      $Id$
 // Copyright:   (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
-// Licence:     wxWindows license
+// Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
 #ifndef _WX_UNIV_INPCONS_H_
@@ -90,7 +90,9 @@ private: \
     void OnKeyDown(wxKeyEvent& event); \
     void OnKeyUp(wxKeyEvent& event); \
     void OnFocus(wxFocusEvent& event); \
-    void OnActivate(wxActivateEvent& event);
+public: /* because of docview :-( */ \
+    void OnActivate(wxActivateEvent& event); \
+private:
 
 // implement the event table entries for wxControlContainer
 #define WX_EVENT_TABLE_INPUT_CONSUMER(classname) \
@@ -136,5 +138,4 @@ private: \
         wxInputConsumer::OnActivate(event); \
     }
 
-
 #endif // _WX_UNIV_INPCONS_H_