]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/scrolwin.h
Escape underscores
[wxWidgets.git] / include / wx / scrolwin.h
index 4775724ba32a027c0e6be61cd88d2c97880cac38..c27b7fa8307d5f705e3d05b02fbed3cc2968599d 100644 (file)
@@ -235,6 +235,7 @@ protected:
 // this macro can be used in a wxScrollHelper-derived class to forward wxWindow
 // methods to corresponding wxScrollHelper methods
 #define WX_FORWARD_TO_SCROLL_HELPER()                                         \
+public:                                                                       \
     virtual void PrepareDC(wxDC& dc) { DoPrepareDC(dc); }                     \
     virtual bool Layout() { return ScrollLayout(); }                          \
     virtual void DoSetVirtualSize(int x, int y)                               \