]>
Commit | Line | Data |
---|---|---|
c801d85f | 1 | ///////////////////////////////////////////////////////////////////////////// |
1e6feb95 | 2 | // Name: wx/gtk/window.h |
c801d85f KB |
3 | // Purpose: |
4 | // Author: Robert Roebling | |
58614078 RR |
5 | // Id: $Id$ |
6 | // Copyright: (c) 1998 Robert Roebling | |
65571936 | 7 | // Licence: wxWindows licence |
c801d85f KB |
8 | ///////////////////////////////////////////////////////////////////////////// |
9 | ||
ef5c70f9 VZ |
10 | #ifndef _WX_GTK_WINDOW_H_ |
11 | #define _WX_GTK_WINDOW_H_ | |
12 | ||
13 | #include "wx/dynarray.h" | |
c801d85f | 14 | |
9dc44eff PC |
15 | #ifdef __WXGTK3__ |
16 | typedef struct _cairo cairo_t; | |
80a77e3c | 17 | typedef struct _GtkStyleProvider GtkStyleProvider; |
9dc44eff PC |
18 | #define WXUNUSED_IN_GTK3(x) |
19 | #else | |
20 | #define WXUNUSED_IN_GTK3(x) x | |
21 | #endif | |
22 | ||
a3c15d89 VS |
23 | // helper structure that holds class that holds GtkIMContext object and |
24 | // some additional data needed for key events processing | |
25 | struct wxGtkIMData; | |
26 | ||
ef5c70f9 VZ |
27 | WX_DEFINE_EXPORTED_ARRAY_PTR(GdkWindow *, wxArrayGdkWindows); |
28 | ||
1da8e6e4 VZ |
29 | extern "C" |
30 | { | |
31 | ||
32 | typedef void (*wxGTKCallback)(); | |
33 | ||
34 | } | |
35 | ||
c801d85f | 36 | //----------------------------------------------------------------------------- |
1e6feb95 | 37 | // wxWindowGTK |
c801d85f KB |
38 | //----------------------------------------------------------------------------- |
39 | ||
20123d49 | 40 | class WXDLLIMPEXP_CORE wxWindowGTK : public wxWindowBase |
c801d85f | 41 | { |
aed8df38 | 42 | public: |
bfc6fde4 VZ |
43 | // creating the window |
44 | // ------------------- | |
1e6feb95 VZ |
45 | wxWindowGTK(); |
46 | wxWindowGTK(wxWindow *parent, | |
47 | wxWindowID id, | |
48 | const wxPoint& pos = wxDefaultPosition, | |
49 | const wxSize& size = wxDefaultSize, | |
50 | long style = 0, | |
51 | const wxString& name = wxPanelNameStr); | |
f03fc89f VZ |
52 | bool Create(wxWindow *parent, |
53 | wxWindowID id, | |
54 | const wxPoint& pos = wxDefaultPosition, | |
55 | const wxSize& size = wxDefaultSize, | |
56 | long style = 0, | |
57 | const wxString& name = wxPanelNameStr); | |
1e6feb95 | 58 | virtual ~wxWindowGTK(); |
cd0183ca | 59 | |
f03fc89f VZ |
60 | // implement base class (pure) virtual methods |
61 | // ------------------------------------------- | |
a264ece2 | 62 | |
f03fc89f VZ |
63 | virtual void Raise(); |
64 | virtual void Lower(); | |
ff8bfdbb | 65 | |
5bc3865f | 66 | virtual bool Show( bool show = true ); |
ff8bfdbb | 67 | |
f03fc89f | 68 | virtual bool IsRetained() const; |
2f2aa628 | 69 | |
bfc6fde4 | 70 | virtual void SetFocus(); |
cca410b3 | 71 | |
00ff24c8 | 72 | // hint from wx to native GTK+ tab traversal code |
80332672 | 73 | virtual void SetCanFocus(bool canFocus); |
ff8bfdbb | 74 | |
fdb7dadb | 75 | virtual bool Reparent( wxWindowBase *newParent ); |
ff8bfdbb | 76 | |
f03fc89f | 77 | virtual void WarpPointer(int x, int y); |
b1170810 | 78 | |
5bc3865f | 79 | virtual void Refresh( bool eraseBackground = true, |
f03fc89f | 80 | const wxRect *rect = (const wxRect *) NULL ); |
beab25bd | 81 | virtual void Update(); |
596f1d11 | 82 | virtual void ClearBackground(); |
bfc6fde4 | 83 | |
f03fc89f VZ |
84 | virtual bool SetBackgroundColour( const wxColour &colour ); |
85 | virtual bool SetForegroundColour( const wxColour &colour ); | |
86 | virtual bool SetCursor( const wxCursor &cursor ); | |
87 | virtual bool SetFont( const wxFont &font ); | |
cd0183ca | 88 | |
c7382f91 | 89 | virtual bool SetBackgroundStyle(wxBackgroundStyle style) ; |
14421681 | 90 | virtual bool IsTransparentBackgroundSupported(wxString* reason = NULL) const; |
f26623c8 | 91 | |
bfc6fde4 VZ |
92 | virtual int GetCharHeight() const; |
93 | virtual int GetCharWidth() const; | |
aed8df38 | 94 | |
f03fc89f | 95 | virtual void SetScrollbar( int orient, int pos, int thumbVisible, |
5bc3865f WS |
96 | int range, bool refresh = true ); |
97 | virtual void SetScrollPos( int orient, int pos, bool refresh = true ); | |
f03fc89f VZ |
98 | virtual int GetScrollPos( int orient ) const; |
99 | virtual int GetScrollThumb( int orient ) const; | |
100 | virtual int GetScrollRange( int orient ) const; | |
101 | virtual void ScrollWindow( int dx, int dy, | |
d3b9f782 | 102 | const wxRect* rect = NULL ); |
0c131a5a VZ |
103 | virtual bool ScrollLines(int lines); |
104 | virtual bool ScrollPages(int pages); | |
8bbe427f | 105 | |
f03fc89f VZ |
106 | #if wxUSE_DRAG_AND_DROP |
107 | virtual void SetDropTarget( wxDropTarget *dropTarget ); | |
108 | #endif // wxUSE_DRAG_AND_DROP | |
f26623c8 | 109 | |
a589495e VS |
110 | virtual void AddChild( wxWindowBase *child ); |
111 | virtual void RemoveChild( wxWindowBase *child ); | |
8bbe427f | 112 | |
978af864 VZ |
113 | virtual void SetLayoutDirection(wxLayoutDirection dir); |
114 | virtual wxLayoutDirection GetLayoutDirection() const; | |
fe92a9d6 RR |
115 | virtual wxCoord AdjustForLayoutDirection(wxCoord x, |
116 | wxCoord width, | |
117 | wxCoord widthTotal) const; | |
978af864 | 118 | |
657b4fd4 RD |
119 | virtual bool DoIsExposed( int x, int y ) const; |
120 | virtual bool DoIsExposed( int x, int y, int w, int h ) const; | |
847dfdb4 | 121 | |
8e1a5bf9 VZ |
122 | // currently wxGTK2-only |
123 | void SetDoubleBuffered(bool on); | |
2e992e06 | 124 | virtual bool IsDoubleBuffered() const; |
8e1a5bf9 | 125 | |
c9248ddb RR |
126 | // SetLabel(), which does nothing in wxWindow |
127 | virtual void SetLabel(const wxString& label) { m_gtkLabel = label; } | |
128 | virtual wxString GetLabel() const { return m_gtkLabel; } | |
129 | ||
f03fc89f VZ |
130 | // implementation |
131 | // -------------- | |
c801d85f | 132 | |
d7c24517 VZ |
133 | virtual WXWidget GetHandle() const { return m_widget; } |
134 | ||
ef5c70f9 VZ |
135 | // many important things are done here, this function must be called |
136 | // regularly | |
bfc6fde4 | 137 | virtual void OnInternalIdle(); |
ff8bfdbb | 138 | |
beab25bd RR |
139 | // For compatibility across platforms (not in event table) |
140 | void OnIdle(wxIdleEvent& WXUNUSED(event)) {} | |
20e85460 | 141 | |
beab25bd | 142 | // Used by all window classes in the widget creation process. |
1e6feb95 | 143 | bool PreCreation( wxWindowGTK *parent, const wxPoint &pos, const wxSize &size ); |
bfc6fde4 | 144 | void PostCreation(); |
ff8bfdbb | 145 | |
48200154 | 146 | // Internal addition of child windows |
1e6feb95 | 147 | void DoAddChild(wxWindowGTK *child); |
f26623c8 | 148 | |
9dc44eff PC |
149 | // This method sends wxPaintEvents to the window. |
150 | // It is also responsible for background erase events. | |
151 | #ifdef __WXGTK3__ | |
152 | void GTKSendPaintEvents(cairo_t* cr); | |
153 | #else | |
154 | void GTKSendPaintEvents(const GdkRegion* region); | |
155 | #endif | |
beab25bd RR |
156 | |
157 | // The methods below are required because many native widgets | |
158 | // are composed of several subwidgets and setting a style for | |
159 | // the widget means setting it for all subwidgets as well. | |
90e572f1 | 160 | // also, it is not clear which native widget is the top |
beab25bd RR |
161 | // widget where (most of) the input goes. even tooltips have |
162 | // to be applied to all subwidgets. | |
bfc6fde4 | 163 | virtual GtkWidget* GetConnectWidget(); |
bfc6fde4 | 164 | void ConnectWidget( GtkWidget *widget ); |
8bbe427f | 165 | |
5478f221 VZ |
166 | // Called from several event handlers, if it returns true or false, the |
167 | // same value should be immediately returned by the handler without doing | |
168 | // anything else. If it returns -1, the handler should continue as usual | |
169 | int GTKCallbackCommonPrologue(struct _GdkEventAny *event) const; | |
ef5c70f9 | 170 | |
02bad830 VZ |
171 | // Simplified form of GTKCallbackCommonPrologue() which can be used from |
172 | // GTK callbacks without return value to check if the event should be | |
173 | // ignored: if this returns true, the event shouldn't be handled | |
174 | bool GTKShouldIgnoreEvent() const; | |
175 | ||
176 | ||
97687291 VZ |
177 | // override this if some events should never be consumed by wxWidgets but |
178 | // but have to be left for the native control | |
179 | // | |
004867db | 180 | // base version just calls HandleWindowEvent() |
97687291 VZ |
181 | virtual bool GTKProcessEvent(wxEvent& event) const; |
182 | ||
978af864 VZ |
183 | // Map GTK widget direction of the given widget to/from wxLayoutDirection |
184 | static wxLayoutDirection GTKGetLayout(GtkWidget *widget); | |
185 | static void GTKSetLayout(GtkWidget *widget, wxLayoutDirection dir); | |
186 | ||
e8375af8 VZ |
187 | // return true if this window must have a non-NULL parent, false if it can |
188 | // be created without parent (normally only top level windows but in wxGTK | |
189 | // there is also the exception of wxMenuBar) | |
190 | virtual bool GTKNeedsParent() const { return !IsTopLevel(); } | |
191 | ||
004867db | 192 | // This is called when capture is taken from the window. It will |
7738af59 VZ |
193 | // fire off capture lost events. |
194 | void GTKReleaseMouseAndNotify(); | |
195 | ||
08f53168 PC |
196 | GdkWindow* GTKGetDrawingWindow() const; |
197 | ||
bd2e08d0 VS |
198 | bool GTKHandleFocusIn(); |
199 | bool GTKHandleFocusOut(); | |
200 | void GTKHandleFocusOutNoDeferring(); | |
201 | static void GTKHandleDeferredFocusOut(); | |
202 | ||
612515af VZ |
203 | // Called when m_widget becomes realized. Derived classes must call the |
204 | // base class method if they override it. | |
205 | virtual void GTKHandleRealized(); | |
603e7f6d | 206 | void GTKHandleUnrealize(); |
612515af | 207 | |
cb3db090 | 208 | protected: |
bd2e08d0 VS |
209 | // for controls composed of multiple GTK widgets, return true to eliminate |
210 | // spurious focus events if the focus changes between GTK+ children within | |
211 | // the same wxWindow | |
212 | virtual bool GTKNeedsToFilterSameWindowFocus() const { return false; } | |
213 | ||
2e1f5012 | 214 | // Override GTKWidgetNeedsMnemonic and return true if your |
28e88942 | 215 | // needs to set its mnemonic widget, such as for a |
2e1f5012 VZ |
216 | // GtkLabel for wxStaticText, then do the actual |
217 | // setting of the widget inside GTKWidgetDoSetMnemonic | |
218 | virtual bool GTKWidgetNeedsMnemonic() const; | |
219 | virtual void GTKWidgetDoSetMnemonic(GtkWidget* w); | |
220 | ||
ef5c70f9 VZ |
221 | // Get the GdkWindows making part of this window: usually there will be |
222 | // only one of them in which case it should be returned directly by this | |
223 | // function. If there is more than one GdkWindow (can be the case for | |
224 | // composite widgets), return NULL and fill in the provided array | |
225 | // | |
226 | // This is not pure virtual for backwards compatibility but almost | |
227 | // certainly must be overridden in any wxControl-derived class! | |
228 | virtual GdkWindow *GTKGetWindow(wxArrayGdkWindows& windows) const; | |
229 | ||
230 | // Check if the given window makes part of this widget | |
231 | bool GTKIsOwnWindow(GdkWindow *window) const; | |
232 | ||
cb3db090 | 233 | public: |
2b5f62a0 | 234 | // Returns the default context which usually is anti-aliased |
496e7ec6 | 235 | PangoContext *GTKGetPangoDefaultContext(); |
2b5f62a0 | 236 | |
ff8bfdbb | 237 | #if wxUSE_TOOLTIPS |
6e5f6c7c | 238 | // applies tooltip to the widget (tip must be UTF-8 encoded) |
558a94bd | 239 | virtual void GTKApplyToolTip(const char* tip); |
ff8bfdbb | 240 | #endif // wxUSE_TOOLTIPS |
301cd871 | 241 | |
f46ad98f | 242 | // Called when a window should delay showing itself |
71ead4bf RR |
243 | // until idle time used in Reparent(). |
244 | void GTKShowOnIdle() { m_showOnIdle = true; } | |
28e88942 | 245 | |
7317857d | 246 | // This is called from the various OnInternalIdle methods |
71ead4bf | 247 | bool GTKShowFromOnIdle(); |
3ae4c570 | 248 | |
d1f2ac45 | 249 | // is this window transparent for the mouse events (as wxStaticBox is)? |
71ead4bf | 250 | virtual bool GTKIsTransparentForMouse() const { return false; } |
d1f2ac45 | 251 | |
add7cadd | 252 | // Common scroll event handling code for wxWindow and wxScrollBar |
71ead4bf | 253 | wxEventType GTKGetScrollEventType(GtkRange* range); |
add7cadd | 254 | |
f03fc89f VZ |
255 | // position and size of the window |
256 | int m_x, m_y; | |
257 | int m_width, m_height; | |
b0d053c1 PC |
258 | int m_clientWidth, m_clientHeight; |
259 | // Whether the client size variables above are known to be correct | |
260 | // (because they have been validated by a size-allocate) and should | |
261 | // be used to report client size | |
262 | bool m_useCachedClientSize; | |
bcf1fa6b | 263 | |
76fcf0f2 RR |
264 | // see the docs in src/gtk/window.cpp |
265 | GtkWidget *m_widget; // mostly the widget seen by the rest of GTK | |
77ffb593 | 266 | GtkWidget *m_wxwindow; // mostly the client area as per wxWidgets |
ce00f59b | 267 | |
c9248ddb RR |
268 | // label for use with GetLabelSetLabel |
269 | wxString m_gtkLabel; | |
ce00f59b | 270 | |
da1bd25f RR |
271 | // return true if the window is of a standard (i.e. not wxWidgets') class |
272 | bool IsOfStandardClass() const { return m_wxwindow == NULL; } | |
cca410b3 | 273 | |
76fcf0f2 RR |
274 | // this widget will be queried for GTK's focus events |
275 | GtkWidget *m_focusWidget; | |
004867db | 276 | |
36a845fe RR |
277 | void GTKDisableFocusOutEvent(); |
278 | void GTKEnableFocusOutEvent(); | |
f03fc89f | 279 | |
a3c15d89 | 280 | wxGtkIMData *m_imData; |
3bcc8d15 | 281 | |
22c9b211 VZ |
282 | // indices for the arrays below |
283 | enum ScrollDir { ScrollDir_Horz, ScrollDir_Vert, ScrollDir_Max }; | |
284 | ||
add7cadd | 285 | // horizontal/vertical scroll bar |
22c9b211 VZ |
286 | GtkRange* m_scrollBar[ScrollDir_Max]; |
287 | ||
add7cadd | 288 | // horizontal/vertical scroll position |
22c9b211 VZ |
289 | double m_scrollPos[ScrollDir_Max]; |
290 | ||
22c9b211 VZ |
291 | // return the scroll direction index corresponding to the given orientation |
292 | // (which is wxVERTICAL or wxHORIZONTAL) | |
293 | static ScrollDir ScrollDirFromOrient(int orient) | |
294 | { | |
295 | return orient == wxVERTICAL ? ScrollDir_Vert : ScrollDir_Horz; | |
296 | } | |
297 | ||
298 | // return the orientation for the given scrolling direction | |
299 | static int OrientFromScrollDir(ScrollDir dir) | |
300 | { | |
301 | return dir == ScrollDir_Horz ? wxHORIZONTAL : wxVERTICAL; | |
302 | } | |
303 | ||
304 | // find the direction of the given scrollbar (must be one of ours) | |
305 | ScrollDir ScrollDirFromRange(GtkRange *range) const; | |
306 | ||
c2246a38 RR |
307 | // set the current cursor for all GdkWindows making part of this widget |
308 | // (see GTKGetWindow) | |
309 | void GTKUpdateCursor(bool update_self = true, bool recurse = true); | |
310 | ||
f03fc89f | 311 | // extra (wxGTK-specific) flags |
76fcf0f2 RR |
312 | bool m_noExpose:1; // wxGLCanvas has its own redrawing |
313 | bool m_nativeSizeEvent:1; // wxGLCanvas sends wxSizeEvent upon "alloc_size" | |
6cad4f1b | 314 | bool m_isScrolling:1; // dragging scrollbar thumb? |
5bc3865f | 315 | bool m_clipPaintRegion:1; // true after ScrollWindow() |
bcb614b3 | 316 | wxRegion m_nativeUpdateRegion; // not transformed for RTL |
a589495e VS |
317 | bool m_dirtyTabOrder:1; // tab order changed, GTK focus |
318 | // chain needs update | |
c7382f91 JS |
319 | bool m_needsStyleChange:1; // May not be able to change |
320 | // background style until OnIdle | |
add7cadd | 321 | bool m_mouseButtonDown:1; |
28e88942 | 322 | |
f46ad98f | 323 | bool m_showOnIdle:1; // postpone showing the window until idle |
7af6f327 | 324 | |
c821db16 | 325 | protected: |
f03fc89f | 326 | // implement the base class pure virtuals |
6de70470 VZ |
327 | virtual void DoGetTextExtent(const wxString& string, |
328 | int *x, int *y, | |
329 | int *descent = NULL, | |
330 | int *externalLeading = NULL, | |
331 | const wxFont *font = NULL) const; | |
dabc0cd5 VZ |
332 | virtual void DoClientToScreen( int *x, int *y ) const; |
333 | virtual void DoScreenToClient( int *x, int *y ) const; | |
f03fc89f VZ |
334 | virtual void DoGetPosition( int *x, int *y ) const; |
335 | virtual void DoGetSize( int *width, int *height ) const; | |
336 | virtual void DoGetClientSize( int *width, int *height ) const; | |
bfc6fde4 VZ |
337 | virtual void DoSetSize(int x, int y, |
338 | int width, int height, | |
339 | int sizeFlags = wxSIZE_AUTO); | |
bfc6fde4 | 340 | virtual void DoSetClientSize(int width, int height); |
b3554952 | 341 | virtual wxSize DoGetBorderSize() const; |
9d9b7755 | 342 | virtual void DoMoveWindow(int x, int y, int width, int height); |
c821db16 | 343 | virtual void DoEnable(bool enable); |
aed8df38 | 344 | |
6f02a879 VZ |
345 | #if wxUSE_MENUS_NATIVE |
346 | virtual bool DoPopupMenu( wxMenu *menu, int x, int y ); | |
347 | #endif // wxUSE_MENUS_NATIVE | |
348 | ||
94633ad9 VZ |
349 | virtual void DoCaptureMouse(); |
350 | virtual void DoReleaseMouse(); | |
f26623c8 | 351 | |
5f346ddc VS |
352 | virtual void DoFreeze(); |
353 | virtual void DoThaw(); | |
354 | ||
f089940f PC |
355 | void GTKFreezeWidget(GtkWidget *w); |
356 | void GTKThawWidget(GtkWidget *w); | |
8ab75332 | 357 | void GTKDisconnect(void* instance); |
5f346ddc | 358 | |
f03fc89f VZ |
359 | #if wxUSE_TOOLTIPS |
360 | virtual void DoSetToolTip( wxToolTip *tip ); | |
361 | #endif // wxUSE_TOOLTIPS | |
362 | ||
992ea406 VZ |
363 | // Create a GtkScrolledWindow containing the given widget (usually |
364 | // m_wxwindow but not necessarily) and assigns it to m_widget. Also shows | |
365 | // the widget passed to it. | |
366 | // | |
367 | // Can be only called if we have either wxHSCROLL or wxVSCROLL in our | |
368 | // style. | |
369 | void GTKCreateScrolledWindowWith(GtkWidget* view); | |
370 | ||
915bd4e4 | 371 | virtual void DoMoveInTabOrder(wxWindow *win, WindowOrder move); |
5644933f VZ |
372 | virtual bool DoNavigateIn(int flags); |
373 | ||
a589495e VS |
374 | |
375 | // Copies m_children tab order to GTK focus chain: | |
376 | void RealizeTabOrder(); | |
f26623c8 | 377 | |
9dc44eff | 378 | #ifndef __WXGTK3__ |
f40fdaa3 VS |
379 | // Called by ApplyWidgetStyle (which is called by SetFont() and |
380 | // SetXXXColour etc to apply style changed to native widgets) to create | |
80a77e3c PC |
381 | // modified GTK style with non-standard attributes. |
382 | GtkRcStyle* GTKCreateWidgetStyle(); | |
9dc44eff | 383 | #endif |
f40fdaa3 | 384 | |
9dc44eff | 385 | void GTKApplyWidgetStyle(bool forceStyle = false); |
f26623c8 | 386 | |
5bc3865f | 387 | // helper function to ease native widgets wrapping, called by |
7074ce35 VS |
388 | // ApplyWidgetStyle -- override this, not ApplyWidgetStyle |
389 | virtual void DoApplyWidgetStyle(GtkRcStyle *style); | |
f03fc89f | 390 | |
9dc44eff PC |
391 | void GTKApplyStyle(GtkWidget* widget, GtkRcStyle* style); |
392 | ||
6493aaca | 393 | // sets the border of a given GtkScrolledWindow from a wx style |
496e7ec6 | 394 | static void GTKScrolledWindowSetBorder(GtkWidget* w, int style); |
6493aaca | 395 | |
a0c8bb73 VZ |
396 | // Connect the given function to the specified signal on m_widget. |
397 | // | |
398 | // This is just a wrapper for g_signal_connect() and returns the handler id | |
399 | // just as it does. | |
1da8e6e4 | 400 | unsigned long GTKConnectWidget(const char *signal, wxGTKCallback callback); |
a0c8bb73 | 401 | |
82008f15 PC |
402 | void ConstrainSize(); |
403 | ||
68dda785 | 404 | private: |
ec373f2a PC |
405 | void Init(); |
406 | ||
22c9b211 VZ |
407 | enum ScrollUnit { ScrollUnit_Line, ScrollUnit_Page, ScrollUnit_Max }; |
408 | ||
409 | // common part of ScrollLines() and ScrollPages() and could be used, in the | |
410 | // future, for horizontal scrolling as well | |
411 | // | |
412 | // return true if we scrolled, false otherwise (on error or simply if we | |
413 | // are already at the end) | |
414 | bool DoScrollByUnits(ScrollDir dir, ScrollUnit unit, int units); | |
48200154 | 415 | virtual void AddChildGTK(wxWindowGTK* child); |
22c9b211 | 416 | |
9dc44eff PC |
417 | #ifdef __WXGTK3__ |
418 | // paint context is stashed here so wxPaintDC can use it | |
419 | cairo_t* m_paintContext; | |
80a77e3c PC |
420 | // style provider for "background-image" |
421 | GtkStyleProvider* m_styleProvider; | |
9dc44eff PC |
422 | |
423 | public: | |
424 | cairo_t* GTKPaintContext() const | |
425 | { | |
426 | return m_paintContext; | |
427 | } | |
428 | #endif | |
429 | ||
1e6feb95 | 430 | DECLARE_DYNAMIC_CLASS(wxWindowGTK) |
c0c133e1 | 431 | wxDECLARE_NO_COPY_CLASS(wxWindowGTK); |
c801d85f KB |
432 | }; |
433 | ||
ef5c70f9 | 434 | #endif // _WX_GTK_WINDOW_H_ |