]> git.saurik.com Git - wxWidgets.git/blame - include/wx/os2/window.h
fixed gcc warnings and reformatted some pieces of code to be a bit readable
[wxWidgets.git] / include / wx / os2 / window.h
CommitLineData
0e320a79
DW
1/////////////////////////////////////////////////////////////////////////////
2// Name: window.h
3// Purpose: wxWindow class
54da4255 4// Author: David Webster
0e320a79 5// Modified by:
cdf1e714 6// Created: 10/12/99
0e320a79 7// RCS-ID: $Id$
cdf1e714
DW
8// Copyright: (c) David Webster
9// Licence: wxWindows licence
0e320a79
DW
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef _WX_WINDOW_H_
13#define _WX_WINDOW_H_
14
cdf1e714 15#define wxUSE_MOUSEEVENT_HACK 0
0e320a79 16
cdf1e714
DW
17// ---------------------------------------------------------------------------
18// headers
19// ---------------------------------------------------------------------------
63415778
DW
20#define INCL_DOS
21#define INCL_PM
22#define INCL_GPI
23#include <os2.h>
24
0e320a79 25
3011bf2b
DW
26// ---------------------------------------------------------------------------
27// forward declarations
28// ---------------------------------------------------------------------------
29#ifndef CW_USEDEFAULT
30# define CW_USEDEFAULT ((int)0x80000000)
31#endif
32
0e320a79
DW
33// ---------------------------------------------------------------------------
34// forward declarations
35// ---------------------------------------------------------------------------
36
37class WXDLLEXPORT wxButton;
38
cdf1e714
DW
39// ---------------------------------------------------------------------------
40// constants
41// ---------------------------------------------------------------------------
0e320a79 42
cdf1e714
DW
43// FIXME does anybody use those? they're unused by wxWindows...
44enum
45{
46 wxKEY_SHIFT = 1,
47 wxKEY_CTRL = 2
48};
54da4255 49
cdf1e714
DW
50// ---------------------------------------------------------------------------
51// wxWindow declaration for OS/2 PM
52// ---------------------------------------------------------------------------
54da4255 53
210a651b 54class WXDLLEXPORT wxWindowOS2 : public wxWindowBase
0e320a79 55{
0e320a79 56public:
210a651b 57 wxWindowOS2()
3e282d33
DW
58 {
59 Init();
60 }
cdf1e714 61
210a651b
DW
62 wxWindowOS2( wxWindow* pParent
63 ,wxWindowID vId
64 ,const wxPoint& rPos = wxDefaultPosition
65 ,const wxSize& rSize = wxDefaultSize
66 ,long lStyle = 0
67 ,const wxString& rName = wxPanelNameStr
68 )
0e320a79
DW
69 {
70 Init();
776d87d5
DW
71 Create( pParent
72 ,vId
73 ,rPos
74 ,rSize
75 ,lStyle
76 ,rName
77 );
0e320a79
DW
78 }
79
210a651b 80 virtual ~wxWindowOS2();
0e320a79 81
776d87d5
DW
82 bool Create( wxWindow* pParent
83 ,wxWindowID vId
84 ,const wxPoint& rPos = wxDefaultPosition
85 ,const wxSize& rSize = wxDefaultSize
86 ,long lStyle = 0
87 ,const wxString& rName = wxPanelNameStr
88 );
0e320a79 89
cdf1e714 90 // implement base class pure virtuals
776d87d5
DW
91 virtual void SetTitle(const wxString& rTitle);
92 virtual wxString GetTitle(void) const;
93 virtual void Raise(void);
94 virtual void Lower(void);
95 virtual bool Show(bool bShow = TRUE);
96 virtual bool Enable(bool bEnable = TRUE);
97 virtual void SetFocus(void);
1cee3f60 98 virtual void SetFocusFromKbd(void);
776d87d5
DW
99 virtual bool Reparent(wxWindow* pNewParent);
100 virtual void WarpPointer( int x
101 ,int y
102 );
776d87d5
DW
103 virtual void Refresh( bool bEraseBackground = TRUE
104 ,const wxRect* pRect = (const wxRect *)NULL
105 );
06519806
DW
106 virtual void Freeze(void);
107 virtual void Update(void);
108 virtual void Thaw(void);
b9b1d6c8 109 virtual void SetWindowStyleFlag(long lStyle);
776d87d5
DW
110 virtual bool SetCursor(const wxCursor& rCursor);
111 virtual bool SetFont(const wxFont& rFont);
112 virtual int GetCharHeight(void) const;
113 virtual int GetCharWidth(void) const;
114 virtual void GetTextExtent( const wxString& rString
115 ,int* pX
116 ,int* pY
117 ,int* pDescent = (int *)NULL
118 ,int* pExternalLeading = (int *)NULL
119 ,const wxFont* pTheFont = (const wxFont *)NULL
120 ) const;
19193a2c 121#if wxUSE_MENUS_NATIVE
776d87d5
DW
122 virtual bool DoPopupMenu( wxMenu* pMenu
123 ,int nX
124 ,int nY
125 );
19193a2c 126#endif // wxUSE_MENUS_NATIVE
776d87d5
DW
127
128 virtual void SetScrollbar( int nOrient
129 ,int nPos
130 ,int nThumbVisible
131 ,int nRange
132 ,bool bRefresh = TRUE
133 );
134 virtual void SetScrollPos( int nOrient
135 ,int nPos
136 ,bool bRefresh = TRUE
137 );
138 virtual int GetScrollPos(int nOrient) const;
139 virtual int GetScrollThumb(int nOrient) const;
140 virtual int GetScrollRange(int nOrient) const;
141 virtual void ScrollWindow( int nDx
142 ,int nDy
143 ,const wxRect* pRect = (wxRect *)NULL
144 );
0e320a79 145
45e0dc94
DW
146 inline HWND GetScrollBarHorz(void) const {return m_hWndScrollBarHorz;}
147 inline HWND GetScrollBarVert(void) const {return m_hWndScrollBarVert;};
cdf1e714 148#if wxUSE_DRAG_AND_DROP
776d87d5 149 virtual void SetDropTarget(wxDropTarget* pDropTarget);
cdf1e714 150#endif // wxUSE_DRAG_AND_DROP
0e320a79
DW
151
152 // Accept files for dragging
776d87d5 153 virtual void DragAcceptFiles(bool bAccept);
0e320a79 154
19193a2c 155#ifndef __WXUNIVERSAL__
776d87d5 156 // Native resource loading (implemented in src/os2/nativdlg.cpp)
cdf1e714 157 // FIXME: should they really be all virtual?
776d87d5
DW
158 virtual bool LoadNativeDialog( wxWindow* pParent
159 ,wxWindowID& vId
160 );
161 virtual bool LoadNativeDialog( wxWindow* pParent
162 ,const wxString& rName
163 );
164 wxWindow* GetWindowChild1(wxWindowID vId);
165 wxWindow* GetWindowChild(wxWindowID vId);
19193a2c 166#endif //__WXUNIVERSAL__
cdf1e714
DW
167
168 // implementation from now on
169 // --------------------------
170
171 // simple accessors
172 // ----------------
86de7616 173
776d87d5
DW
174 WXHWND GetHWND(void) const { return m_hWnd; }
175 void SetHWND(WXHWND hWnd) { m_hWnd = hWnd; }
176 virtual WXWidget GetHandle(void) const { return GetHWND(); }
177 bool GetUseCtl3D(void) const { return m_bUseCtl3D; }
178 bool GetTransparentBackground(void) const { return m_bBackgroundTransparent; }
179 void SetTransparent(bool bT = TRUE) { m_bBackgroundTransparent = bT; }
54da4255 180
cdf1e714
DW
181 // event handlers
182 // --------------
a885d89a 183 void OnSetFocus(wxFocusEvent& rEvent);
776d87d5
DW
184 void OnEraseBackground(wxEraseEvent& rEvent);
185 void OnIdle(wxIdleEvent& rEvent);
cdf1e714
DW
186
187public:
f289196b 188
0e320a79
DW
189 // For implementation purposes - sometimes decorations make the client area
190 // smaller
776d87d5 191 virtual wxPoint GetClientAreaOrigin(void) const;
0e320a79 192
86de7616
DW
193 // Windows subclassing
194 void SubclassWin(WXHWND hWnd);
776d87d5 195 void UnsubclassWin(void);
86de7616 196
776d87d5
DW
197 WXFARPROC OS2GetOldWndProc(void) const { return m_fnOldWndProc; }
198 void OS2SetOldWndProc(WXFARPROC fnProc) { m_fnOldWndProc = fnProc; }
47df2b8c
DW
199 //
200 // Return TRUE if the window is of a standard (i.e. not wxWindows') class
201 //
202 bool IsOfStandardClass(void) const { return m_fnOldWndProc != NULL; }
86de7616 203
776d87d5
DW
204 wxWindow* FindItem(long lId) const;
205 wxWindow* FindItemByHWND( WXHWND hWnd
206 ,bool bControlOnly = FALSE
207 ) const;
86de7616 208
776d87d5
DW
209 // Make a Windows extended style from the given wxWindows window style ?? applicable to OS/2??
210 static WXDWORD MakeExtendedStyle( long lStyle
211 ,bool bEliminateBorders = TRUE
212 );
86de7616 213 // Determine whether 3D effects are wanted
776d87d5
DW
214 WXDWORD Determine3DEffects( WXDWORD dwDefaultBorderStyle
215 ,bool* pbWant3D
216 ) const;
86de7616 217
776d87d5 218 // PM only: TRUE if this control is part of the main control
86de7616
DW
219 virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return FALSE; };
220
b9b1d6c8
DW
221 // translate wxWindows style flags for this control into the PM style
222 // and optional extended style for the corresponding native control
223 //
224 // this is the function that should be overridden in the derived classes,
225 // but you will mostly use OS2GetCreateWindowFlags() below
226 virtual WXDWORD OS2GetStyle( long lFlags
227 ,WXDWORD* pdwExstyle = NULL
228 ) const;
229
230 // get the MSW window flags corresponding to wxWindows ones
231 //
232 // the functions returns the flags (WS_XXX) directly and puts the ext
233 // (WS_EX_XXX) flags into the provided pointer if not NULL
234 WXDWORD OS2GetCreateWindowFlags(WXDWORD* pdwExflags = NULL) const
235 { return OS2GetStyle(GetWindowStyle(), pdwExflags); }
236
237
6ed98c6a
DW
238 // get the HWND to be used as parent of this window with CreateWindow()
239 virtual WXHWND OS2GetParent(void) const;
240
cdf1e714 241 // returns TRUE if the window has been created
3011bf2b
DW
242 bool OS2Create( PSZ zClass
243 ,const char* zTitle
244 ,WXDWORD dwStyle
245 ,const wxPoint& rPos
246 ,const wxSize& rSize
247 ,void* pCtlData
248 ,WXDWORD dwExStyle
249 ,bool bIsChild
250 );
776d87d5
DW
251 virtual bool OS2Command( WXUINT uParam
252 ,WXWORD nId
253 );
cdf1e714 254
19193a2c 255#ifndef __WXUNIVERSAL__
cdf1e714 256 // Create an appropriate wxWindow from a HWND
776d87d5
DW
257 virtual wxWindow* CreateWindowFromHWND( wxWindow* pParent
258 ,WXHWND hWnd
259 );
cdf1e714
DW
260
261 // Make sure the window style reflects the HWND style (roughly)
776d87d5 262 virtual void AdoptAttributesFromHWND(void);
19193a2c 263#endif
cdf1e714
DW
264
265 // Setup background and foreground colours correctly
776d87d5 266 virtual void SetupColours(void);
cdf1e714
DW
267
268 // ------------------------------------------------------------------------
269 // helpers for message handlers: these perform the same function as the
270 // message crackers from <windowsx.h> - they unpack WPARAM and LPARAM into
271 // the correct parameters
272 // ------------------------------------------------------------------------
273
776d87d5
DW
274 void UnpackCommand( WXWPARAM wParam
275 ,WXLPARAM lParam,
276 WXWORD* pId
277 ,WXHWND* pHwnd
278 ,WXWORD* pCmd
279 );
280 void UnpackActivate( WXWPARAM wParam
281 ,WXLPARAM lParam
282 ,WXWORD* pState
776d87d5
DW
283 ,WXHWND* pHwnd
284 );
285 void UnpackScroll( WXWPARAM wParam
286 ,WXLPARAM lParam
287 ,WXWORD* pCode
288 ,WXWORD* pPos
289 ,WXHWND* pHwnd
290 );
776d87d5
DW
291 void UnpackMenuSelect( WXWPARAM wParam
292 ,WXLPARAM lParam
293 ,WXWORD* pTtem
294 ,WXWORD* pFlags
295 ,WXHMENU* pHmenu
296 );
cdf1e714
DW
297
298 // ------------------------------------------------------------------------
776d87d5 299 // internal handlers for OS2 messages: all handlers return a boolen value:
cdf1e714
DW
300 // TRUE means that the handler processed the event and FALSE that it didn't
301 // ------------------------------------------------------------------------
302
776d87d5 303 // there are several cases where we have virtual functions for PM
cdf1e714
DW
304 // message processing: this is because these messages often require to be
305 // processed in a different manner in the derived classes. For all other
776d87d5 306 // messages, however, we do *not* have corresponding OS2OnXXX() function
cdf1e714 307 // and if the derived class wants to process them, it should override
776d87d5 308 // OS2WindowProc() directly.
cdf1e714
DW
309
310 // scroll event (both horizontal and vertical)
776d87d5
DW
311 virtual bool OS2OnScroll( int nOrientation
312 ,WXWORD nSBCode
313 ,WXWORD pos
314 ,WXHWND control
315 );
cdf1e714 316
cdf1e714 317 // owner-drawn controls need to process these messages
776d87d5
DW
318 virtual bool OS2OnDrawItem( int nId
319 ,WXDRAWITEMSTRUCT* pItem
320 );
f5ea767e 321 virtual long OS2OnMeasureItem( int nId
776d87d5
DW
322 ,WXMEASUREITEMSTRUCT* pItem
323 );
cdf1e714 324
9794cae1
DW
325 virtual void OnPaint(wxPaintEvent& rEvent);
326
cdf1e714 327 // the rest are not virtual
776d87d5
DW
328 bool HandleCreate( WXLPCREATESTRUCT vCs
329 ,bool* pMayCreate
330 );
cdf1e714 331 bool HandleInitDialog(WXHWND hWndFocus);
776d87d5
DW
332 bool HandleDestroy(void);
333 bool HandlePaint(void);
334 bool HandleEraseBkgnd(WXHDC vDC);
335 bool HandleMinimize(void);
336 bool HandleMaximize(void);
337 bool HandleSize( int nX
338 ,int nY
339 ,WXUINT uFlag
340 );
61243a51 341 bool HandleGetMinMaxInfo(PSWP pMmInfo);
776d87d5
DW
342 bool HandleShow( bool bShow
343 ,int nStatus
344 );
345 bool HandleActivate( int nFlag
776d87d5
DW
346 ,WXHWND hActivate
347 );
348 bool HandleCommand( WXWORD nId
349 ,WXWORD nCmd
350 ,WXHWND hControl
351 );
352 bool HandleSysCommand( WXWPARAM wParam
353 ,WXLPARAM lParam
354 );
1d0edc0f
DW
355 bool HandlePaletteChanged(void);
356 bool HandleQueryNewPalette(void);
776d87d5 357 bool HandleSysColorChange(void);
1d0edc0f
DW
358 bool HandleDisplayChange(void);
359 bool HandleCaptureChanged(WXHWND hBainedCapture);
360
61243a51 361 bool HandleCtlColor(WXHBRUSH* hBrush);
776d87d5
DW
362 bool HandleSetFocus(WXHWND hWnd);
363 bool HandleKillFocus(WXHWND hWnd);
61243a51 364 bool HandleEndDrag(WXWPARAM wParam);
776d87d5
DW
365 bool HandleMouseEvent( WXUINT uMsg
366 ,int nX
367 ,int nY
368 ,WXUINT uFlags
369 );
370 bool HandleMouseMove( int nX
371 ,int nY
372 ,WXUINT uFlags
373 );
598d8cac 374 bool HandleChar( WXWPARAM wParam
776d87d5
DW
375 ,WXLPARAM lParam
376 ,bool bIsASCII = FALSE
377 );
a086de98 378 bool HandleKeyDown( WXWPARAM wParam
776d87d5
DW
379 ,WXLPARAM lParam
380 );
a086de98 381 bool HandleKeyUp( WXWPARAM wParam
776d87d5
DW
382 ,WXLPARAM lParam
383 );
384 bool HandleQueryDragIcon(WXHICON* phIcon);
61243a51
DW
385 bool HandleSetCursor( USHORT vId
386 ,WXHWND hWnd
776d87d5 387 );
0e320a79 388
f9efbe3a
DW
389 bool IsMouseInWindow(void) const;
390 bool OS2GetCreateWindowCoords( const wxPoint& rPos
391 ,const wxSize& rSize
392 ,int& rnX
393 ,int& rnY
394 ,int& rnWidth
395 ,int& rnHeight
396 ) const;
397
cdf1e714 398 // Window procedure
a885d89a 399 virtual MRESULT OS2WindowProc( WXUINT uMsg
776d87d5
DW
400 ,WXWPARAM wParam
401 ,WXLPARAM lParam
402 );
0e320a79 403
cdf1e714 404 // Calls an appropriate default window procedure
a885d89a 405 virtual MRESULT OS2DefWindowProc( WXUINT uMsg
776d87d5
DW
406 ,WXWPARAM wParam
407 ,WXLPARAM lParam
408 );
409 virtual bool OS2ProcessMessage(WXMSG* pMsg);
f140b352 410 virtual bool OS2ShouldPreProcessMessage(WXMSG* pMsg);
776d87d5
DW
411 virtual bool OS2TranslateMessage(WXMSG* pMsg);
412 virtual void OS2DestroyWindow(void);
0e320a79 413
cdf1e714
DW
414 // this function should return the brush to paint the window background
415 // with or 0 for the default brush
776d87d5
DW
416 virtual WXHBRUSH OnCtlColor( WXHDC hDC
417 ,WXHWND hWnd
418 ,WXUINT uCtlColor
419 ,WXUINT uMessage
420 ,WXWPARAM wParam
421 ,WXLPARAM lParam
422 );
27476f73 423
cdf1e714 424 // Responds to colour changes: passes event on to children.
776d87d5 425 void OnSysColourChanged(wxSysColourChangedEvent& rEvent);
0e320a79 426
776d87d5
DW
427 // initialize various fields of wxMouseEvent (common part of OS2OnMouseXXX)
428 void InitMouseEvent( wxMouseEvent& rEvent
429 ,int nX
430 ,int nY
431 ,WXUINT uFlags
432 );
0e320a79 433
3a50d19c 434 void MoveChildren(int nDiff);
1b7735e1 435 PSWP GetSwp(void) {return &m_vWinSwp;}
3a50d19c 436
cdf1e714 437protected:
a885d89a
DW
438 // PM can't create some MSW styles natively but can perform these after
439 // creation by sending messages
440 typedef enum extra_flags { kFrameToolWindow = 0x0001
441 ,kVertCaption = 0x0002
442 ,kHorzCaption = 0x0004
443 } EExtraFlags;
444 // Some internal sizeing id's to make it easy for event handlers
445 typedef enum size_types { kSizeNormal
446 ,kSizeMax
447 ,kSizeMin
448 } ESizeTypes;
cdf1e714 449 // the window handle
776d87d5 450 WXHWND m_hWnd;
cdf1e714
DW
451
452 // the old window proc (we subclass all windows)
776d87d5 453 WXFARPROC m_fnOldWndProc;
cdf1e714 454
008089f6 455 // additional (OS2 specific) flags
776d87d5
DW
456 bool m_bUseCtl3D:1; // Using CTL3D for this control
457 bool m_bBackgroundTransparent:1;
458 bool m_bMouseInWindow:1;
3437f881 459 bool m_bLastKeydownProcessed:1;
776d87d5 460 bool m_bWinCaptured:1;
008089f6 461 WXDWORD m_dwExStyle;
849949b1
DW
462
463 // the size of one page for scrolling
776d87d5
DW
464 int m_nXThumbSize;
465 int m_nYThumbSize;
0e320a79 466
cdf1e714
DW
467#if wxUSE_MOUSEEVENT_HACK
468 // the coordinates of the last mouse event and the type of it
776d87d5
DW
469 long m_lLastMouseX,
470 long m_lLastMouseY;
471 int m_nLastMouseEvent;
cdf1e714
DW
472#endif // wxUSE_MOUSEEVENT_HACK
473
776d87d5 474 WXHMENU m_hMenu; // Menu, if any
0fe536e3 475 unsigned long m_ulMenubarId; // it's Id, if any
cdf1e714
DW
476
477 // the return value of WM_GETDLGCODE handler
776d87d5 478 long m_lDlgCode;
cdf1e714
DW
479
480 // implement the base class pure virtuals
776d87d5
DW
481 virtual void DoClientToScreen( int* pX
482 ,int* pY
483 ) const;
484 virtual void DoScreenToClient( int* pX
485 ,int* pY
486 ) const;
487 virtual void DoGetPosition( int* pX
488 ,int* pY
489 ) const;
490 virtual void DoGetSize( int* pWidth
491 ,int* pHeight
492 ) const;
493 virtual void DoGetClientSize( int* pWidth
494 ,int* pHeight
495 ) const;
496 virtual void DoSetSize( int nX
497 ,int nY
498 ,int nWidth
499 ,int nHeight
500 ,int nSizeFlags = wxSIZE_AUTO
501 );
502 virtual void DoSetClientSize( int nWidth
503 ,int nHeight
504 );
cdf1e714 505
4116c221
VZ
506 virtual void DoCaptureMouse(void);
507 virtual void DoReleaseMouse(void);
b9b1d6c8 508
cdf1e714
DW
509 // move the window to the specified location and resize it: this is called
510 // from both DoSetSize() and DoSetClientSize() and would usually just call
3e282d33 511 // ::WinSetWindowPos() except for composite controls which will want to arrange
cdf1e714 512 // themselves inside the given rectangle
776d87d5
DW
513 virtual void DoMoveWindow( int nX
514 ,int nY
515 ,int nWidth
516 ,int nHeight
517 );
cdf1e714
DW
518
519#if wxUSE_TOOLTIPS
776d87d5 520 virtual void DoSetToolTip(wxToolTip* pTip);
cdf1e714
DW
521#endif // wxUSE_TOOLTIPS
522
3a50d19c
DW
523 int GetOS2ParentHeight(wxWindowOS2* pParent);
524
0e320a79 525private:
cdf1e714 526 // common part of all ctors
776d87d5 527 void Init(void);
0e320a79 528
cdf1e714 529 // the (non-virtual) handlers for the events
776d87d5
DW
530 bool HandleMove( int nX
531 ,int nY
532 );
533 bool HandleJoystickEvent( WXUINT uMsg
534 ,int pX
535 ,int pY
536 ,WXUINT uFlags
537 );
538
539 bool HandleNotify( int nIdCtrl
540 ,WXLPARAM lParam
541 ,WXLPARAM* pResult
542 );
a885d89a 543 // the helper functions used by HandleChar/KeyXXX methods
a086de98
DW
544 wxKeyEvent CreateKeyEvent( wxEventType evType
545 ,int nId
546 ,WXLPARAM lParam = 0
547 ,WXWPARAM wParam = 0
548 ) const;
a885d89a 549
018d3030 550 wxWindowList* m_pChildrenDisabled;
c8b5f745
DW
551 HWND m_hWndScrollBarHorz;
552 HWND m_hWndScrollBarVert;
1b7735e1 553 SWP m_vWinSwp;
1c84ee88 554
018d3030
DW
555 DECLARE_DYNAMIC_CLASS(wxWindowOS2);
556 DECLARE_NO_COPY_CLASS(wxWindowOS2)
557 DECLARE_EVENT_TABLE()
558
559 //
63415778 560 // Virtual function hiding supression
018d3030 561 //
776d87d5 562 inline virtual bool Reparent(wxWindowBase* pNewParent)
018d3030 563 { return(wxWindowBase::Reparent(pNewParent));}
a885d89a 564}; // end of wxWindow
0e320a79 565
06519806
DW
566class wxWindowCreationHook
567{
568public:
569 wxWindowCreationHook(wxWindow* pWinBeingCreated);
570 ~wxWindowCreationHook();
571}; // end of CLASS wxWindowCreationHook
572
cdf1e714
DW
573// ---------------------------------------------------------------------------
574// global functions
575// ---------------------------------------------------------------------------
0e320a79 576
cdf1e714 577// kbd code translation
776d87d5
DW
578WXDLLEXPORT int wxCharCodeOS2ToWX(int nKeySym);
579WXDLLEXPORT int wxCharCodeWXToOS2( int nId
580 ,bool* pbIsVirtual
581 );
0e320a79
DW
582#endif
583 // _WX_WINDOW_H_