- bool CanAddEventHandler() const { return m_canAddEventHandler; }
- void SetCanAddEventHandler(bool flag) { m_canAddEventHandler = flag; }
-
+ // See src/motif/window.cpp, near the top, for an explanation
+ // why this is necessary
+ void CanvasSetSizeIntr(int x, int y, int width, int height,
+ int sizeFlags, bool fromCtor);
+ void DoSetSizeIntr(int x, int y,
+ int width, int height,
+ int sizeFlags, bool fromCtor);
+
+ // for DoMoveWindowIntr flags
+ enum
+ {
+ wxMOVE_X = 1,
+ wxMOVE_Y = 2,
+ wxMOVE_WIDTH = 4,
+ wxMOVE_HEIGHT = 8
+ };
+
+ void DoMoveWindowIntr(int x, int y, int width, int height,
+ int flags);
+
+ // helper function, to remove duplicate code, used in wxScrollBar
+ WXWidget DoCreateScrollBar(WXWidget parent, wxOrientation orientation,
+ void (*callback)());