]>
Commit | Line | Data |
---|---|---|
2bda0e17 KB |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: window.h | |
3 | // Purpose: wxWindow class | |
4 | // Author: Julian Smart | |
5 | // Modified by: | |
6 | // Created: 01/02/97 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) Julian Smart and Markus Holzem | |
cc2b7472 | 9 | // Licence: wxWindows licence |
2bda0e17 KB |
10 | ///////////////////////////////////////////////////////////////////////////// |
11 | ||
bbcdf8bc JS |
12 | #ifndef _WX_WINDOW_H_ |
13 | #define _WX_WINDOW_H_ | |
2bda0e17 | 14 | |
cc2b7472 VZ |
15 | // --------------------------------------------------------------------------- |
16 | // headers | |
17 | // --------------------------------------------------------------------------- | |
18 | ||
2bda0e17 | 19 | #ifdef __GNUG__ |
cc2b7472 | 20 | #pragma interface "window.h" |
2bda0e17 KB |
21 | #endif |
22 | ||
42e69d6b | 23 | #include "wx/msw/winundef.h" |
2bda0e17 | 24 | |
a23fd0e1 VZ |
25 | // VZ: apparently some version of Windows send extra mouse move messages after |
26 | // a mouse click. My tests under NT 4.0 and 95 didn't show it so I'm | |
27 | // tempted to think that it was just an effect of a poor mouse and so the | |
28 | // code to work around this is currently disabled - just define this as 1 | |
29 | // to reenable it | |
30 | #define wxUSE_MOUSEEVENT_HACK 0 | |
31 | ||
cc2b7472 VZ |
32 | // --------------------------------------------------------------------------- |
33 | // forward declarations | |
34 | // --------------------------------------------------------------------------- | |
2bda0e17 | 35 | |
cc2b7472 | 36 | class WXDLLEXPORT wxButton; |
2bda0e17 | 37 | |
cc2b7472 VZ |
38 | // --------------------------------------------------------------------------- |
39 | // constants | |
40 | // --------------------------------------------------------------------------- | |
1e6d9499 | 41 | |
cc2b7472 VZ |
42 | // FIXME does anybody use those? they're unused by wxWindows... |
43 | enum | |
1e6d9499 | 44 | { |
cc2b7472 VZ |
45 | wxKEY_SHIFT = 1, |
46 | wxKEY_CTRL = 2 | |
1e6d9499 JS |
47 | }; |
48 | ||
cc2b7472 VZ |
49 | // --------------------------------------------------------------------------- |
50 | // wxWindow declaration for MSW | |
51 | // --------------------------------------------------------------------------- | |
52 | class WXDLLEXPORT wxWindow : public wxWindowBase | |
1e6d9499 | 53 | { |
cc2b7472 | 54 | DECLARE_DYNAMIC_CLASS(wxWindow); |
2bda0e17 KB |
55 | |
56 | public: | |
cc2b7472 VZ |
57 | wxWindow() { Init(); } |
58 | ||
59 | wxWindow(wxWindow *parent, | |
60 | wxWindowID id, | |
61 | const wxPoint& pos = wxDefaultPosition, | |
62 | const wxSize& size = wxDefaultSize, | |
63 | long style = 0, | |
64 | const wxString& name = wxPanelNameStr) | |
bfc6fde4 VZ |
65 | { |
66 | Init(); | |
67 | Create(parent, id, pos, size, style, name); | |
68 | } | |
2bda0e17 | 69 | |
bfc6fde4 | 70 | virtual ~wxWindow(); |
2bda0e17 | 71 | |
cc2b7472 VZ |
72 | bool Create(wxWindow *parent, |
73 | wxWindowID id, | |
74 | const wxPoint& pos = wxDefaultPosition, | |
75 | const wxSize& size = wxDefaultSize, | |
76 | long style = 0, | |
77 | const wxString& name = wxPanelNameStr); | |
bfc6fde4 | 78 | |
cc2b7472 | 79 | // implement base class pure virtuals |
42e69d6b VZ |
80 | virtual void SetTitle( const wxString& title); |
81 | virtual wxString GetTitle() const; | |
82 | ||
bfc6fde4 | 83 | virtual void Raise(); |
bfc6fde4 VZ |
84 | virtual void Lower(); |
85 | ||
cc2b7472 VZ |
86 | virtual bool Show( bool show = TRUE ); |
87 | virtual bool Enable( bool enable = TRUE ); | |
bfc6fde4 | 88 | |
cc2b7472 | 89 | virtual void SetFocus(); |
bfc6fde4 | 90 | |
cc2b7472 | 91 | virtual bool Reparent( wxWindow *newParent ); |
bfc6fde4 | 92 | |
cc2b7472 VZ |
93 | virtual void WarpPointer(int x, int y); |
94 | virtual void CaptureMouse(); | |
95 | virtual void ReleaseMouse(); | |
bfc6fde4 | 96 | |
cc2b7472 VZ |
97 | virtual void Refresh( bool eraseBackground = TRUE, |
98 | const wxRect *rect = (const wxRect *) NULL ); | |
99 | virtual void Clear(); | |
bfc6fde4 | 100 | |
cc2b7472 VZ |
101 | virtual bool SetCursor( const wxCursor &cursor ); |
102 | virtual bool SetFont( const wxFont &font ); | |
bfc6fde4 | 103 | |
bfc6fde4 VZ |
104 | virtual int GetCharHeight() const; |
105 | virtual int GetCharWidth() const; | |
cc2b7472 VZ |
106 | virtual void GetTextExtent(const wxString& string, |
107 | int *x, int *y, | |
108 | int *descent = (int *) NULL, | |
109 | int *externalLeading = (int *) NULL, | |
110 | const wxFont *theFont = (const wxFont *) NULL) | |
111 | const; | |
112 | ||
cc2b7472 VZ |
113 | virtual bool PopupMenu( wxMenu *menu, int x, int y ); |
114 | ||
115 | virtual void SetScrollbar( int orient, int pos, int thumbVisible, | |
116 | int range, bool refresh = TRUE ); | |
117 | virtual void SetScrollPos( int orient, int pos, bool refresh = TRUE ); | |
118 | virtual int GetScrollPos( int orient ) const; | |
119 | virtual int GetScrollThumb( int orient ) const; | |
120 | virtual int GetScrollRange( int orient ) const; | |
121 | virtual void ScrollWindow( int dx, int dy, | |
122 | const wxRect* rect = (wxRect *) NULL ); | |
2bda0e17 | 123 | |
47d67540 | 124 | #if wxUSE_DRAG_AND_DROP |
cc2b7472 VZ |
125 | virtual void SetDropTarget( wxDropTarget *dropTarget ); |
126 | #endif // wxUSE_DRAG_AND_DROP | |
9f3362c4 | 127 | |
bfc6fde4 VZ |
128 | // Accept files for dragging |
129 | virtual void DragAcceptFiles(bool accept); | |
2bda0e17 | 130 | |
2bda0e17 | 131 | #if WXWIN_COMPATIBILITY |
bfc6fde4 VZ |
132 | // Set/get scroll attributes |
133 | virtual void SetScrollRange(int orient, int range, bool refresh = TRUE); | |
134 | virtual void SetScrollPage(int orient, int page, bool refresh = TRUE); | |
135 | virtual int OldGetScrollRange(int orient) const; | |
136 | virtual int GetScrollPage(int orient) const; | |
42e69d6b VZ |
137 | |
138 | // event handlers | |
139 | // Handle a control command | |
140 | virtual void OnCommand(wxWindow& win, wxCommandEvent& event); | |
141 | ||
142 | // Override to define new behaviour for default action (e.g. double | |
143 | // clicking on a listbox) | |
144 | virtual void OnDefaultAction(wxControl * WXUNUSED(initiatingItem)) { } | |
cc2b7472 | 145 | #endif // WXWIN_COMPATIBILITY |
bfc6fde4 | 146 | |
cc2b7472 | 147 | // caret manipulation (MSW only) |
bfc6fde4 VZ |
148 | virtual void CreateCaret(int w, int h); |
149 | virtual void CreateCaret(const wxBitmap *bitmap); | |
150 | virtual void DestroyCaret(); | |
151 | virtual void ShowCaret(bool show); | |
152 | virtual void SetCaretPos(int x, int y); | |
153 | virtual void GetCaretPos(int *x, int *y) const; | |
154 | ||
cc2b7472 VZ |
155 | // Native resource loading (implemented in src/msw/nativdlg.cpp) |
156 | // FIXME: should they really be all virtual? | |
bfc6fde4 VZ |
157 | virtual bool LoadNativeDialog(wxWindow* parent, wxWindowID& id); |
158 | virtual bool LoadNativeDialog(wxWindow* parent, const wxString& name); | |
42e69d6b VZ |
159 | wxWindow* GetWindowChild1(wxWindowID id); |
160 | wxWindow* GetWindowChild(wxWindowID id); | |
2bda0e17 | 161 | |
cc2b7472 VZ |
162 | // implementation from now on |
163 | // -------------------------- | |
2bda0e17 | 164 | |
cc2b7472 VZ |
165 | // simple accessors |
166 | // ---------------- | |
2bda0e17 | 167 | |
d7c24517 VZ |
168 | WXHWND GetHWND() const { return m_hWnd; } |
169 | void SetHWND(WXHWND hWnd) { m_hWnd = hWnd; } | |
170 | virtual WXWidget GetHandle() const { return GetHWND(); } | |
2bda0e17 | 171 | |
cc2b7472 VZ |
172 | bool GetUseCtl3D() const { return m_useCtl3D; } |
173 | bool GetTransparentBackground() const { return m_backgroundTransparent; } | |
174 | void SetTransparent(bool t = TRUE) { m_backgroundTransparent = t; } | |
2bda0e17 | 175 | |
cc2b7472 VZ |
176 | // event handlers |
177 | // -------------- | |
bfc6fde4 | 178 | void OnEraseBackground(wxEraseEvent& event); |
bfc6fde4 | 179 | void OnIdle(wxIdleEvent& event); |
2bda0e17 | 180 | |
cc2b7472 VZ |
181 | // a window may have a default button |
182 | // TODO move into wxPanel and/or wxFrame | |
183 | wxButton *GetDefaultItem() const { return m_btnDefault; } | |
184 | void SetDefaultItem(wxButton *btn) { m_btnDefault = btn; } | |
52476186 | 185 | |
2bda0e17 | 186 | public: |
bfc6fde4 VZ |
187 | // For implementation purposes - sometimes decorations make the client area |
188 | // smaller | |
189 | virtual wxPoint GetClientAreaOrigin() const; | |
190 | ||
191 | // Makes an adjustment to the window position (for example, a frame that has | |
192 | // a toolbar that it manages itself). | |
193 | virtual void AdjustForParentClientOrigin(int& x, int& y, int sizeFlags); | |
194 | ||
195 | // Windows subclassing | |
196 | void SubclassWin(WXHWND hWnd); | |
197 | void UnsubclassWin(); | |
bfc6fde4 | 198 | |
a23fd0e1 VZ |
199 | WXFARPROC MSWGetOldWndProc() const { return m_oldWndProc; } |
200 | void MSWSetOldWndProc(WXFARPROC proc) { m_oldWndProc = proc; } | |
bfc6fde4 | 201 | |
42e69d6b VZ |
202 | wxWindow *FindItem(int id) const; |
203 | wxWindow *FindItemByHWND(WXHWND hWnd, bool controlOnly = FALSE) const; | |
bfc6fde4 VZ |
204 | |
205 | // Make a Windows extended style from the given wxWindows window style | |
206 | virtual WXDWORD MakeExtendedStyle(long style, bool eliminateBorders = TRUE); | |
207 | // Determine whether 3D effects are wanted | |
208 | virtual WXDWORD Determine3DEffects(WXDWORD defaultBorderStyle, bool *want3D); | |
209 | ||
bfc6fde4 VZ |
210 | // MSW only: TRUE if this control is part of the main control |
211 | virtual bool ContainsHWND(WXHWND WXUNUSED(hWnd)) const { return FALSE; }; | |
212 | ||
a23fd0e1 VZ |
213 | // returns TRUE if the window has been created |
214 | bool MSWCreate(int id, | |
215 | wxWindow *parent, | |
216 | const char *wclass, | |
217 | wxWindow *wx_win, | |
218 | const char *title, | |
219 | int x, int y, int width, int height, | |
220 | WXDWORD style, | |
221 | const char *dialog_template = NULL, | |
222 | WXDWORD exendedStyle = 0); | |
42e69d6b | 223 | virtual bool MSWCommand(WXUINT param, WXWORD id); |
bfc6fde4 | 224 | |
42e69d6b VZ |
225 | #if WXWIN_COMPATIBILITY |
226 | wxObject *GetChild(int number) const; | |
227 | virtual void MSWDeviceToLogical(float *x, float *y) const; | |
228 | #endif // WXWIN_COMPATIBILITY | |
bfc6fde4 VZ |
229 | |
230 | // Create an appropriate wxWindow from a HWND | |
231 | virtual wxWindow* CreateWindowFromHWND(wxWindow* parent, WXHWND hWnd); | |
232 | ||
233 | // Make sure the window style reflects the HWND style (roughly) | |
234 | virtual void AdoptAttributesFromHWND(); | |
235 | ||
236 | // Setup background and foreground colours correctly | |
237 | virtual void SetupColours(); | |
238 | ||
42e69d6b VZ |
239 | // ------------------------------------------------------------------------ |
240 | // helpers for message handlers: these perform the same function as the | |
241 | // message crackers from <windowsx.h> - they unpack WPARAM and LPARAM into | |
242 | // the correct parameters | |
243 | // ------------------------------------------------------------------------ | |
244 | ||
245 | void UnpackCommand(WXWPARAM wParam, WXLPARAM lParam, | |
246 | WXWORD *id, WXHWND *hwnd, WXWORD *cmd); | |
247 | void UnpackActivate(WXWPARAM wParam, WXLPARAM lParam, | |
248 | WXWORD *state, WXWORD *minimized, WXHWND *hwnd); | |
249 | void UnpackScroll(WXWPARAM wParam, WXLPARAM lParam, | |
250 | WXWORD *code, WXWORD *pos, WXHWND *hwnd); | |
251 | void UnpackCtlColor(WXWPARAM wParam, WXLPARAM lParam, | |
252 | WXWORD *nCtlColor, WXHDC *hdc, WXHWND *hwnd); | |
253 | void UnpackMenuSelect(WXWPARAM wParam, WXLPARAM lParam, | |
254 | WXWORD *item, WXWORD *flags, WXHMENU *hmenu); | |
255 | ||
a23fd0e1 VZ |
256 | // ------------------------------------------------------------------------ |
257 | // internal handlers for MSW messages: all handlers return a boolen value: | |
258 | // TRUE means that the handler processed the event and FALSE that it didn't | |
259 | // ------------------------------------------------------------------------ | |
bfc6fde4 | 260 | |
42e69d6b VZ |
261 | // there are several cases where we have virtual functions for Windows |
262 | // message processing: this is because these messages often require to be | |
263 | // processed in a different manner in the derived classes. For all other | |
264 | // messages, however, we do *not* have corresponding MSWOnXXX() function | |
265 | // and if the derived class wants to process them, it should override | |
266 | // MSWWindowProc() directly. | |
a23fd0e1 | 267 | |
42e69d6b | 268 | // scroll event (both horizontal and vertical) |
a23fd0e1 VZ |
269 | virtual bool MSWOnScroll(int orientation, WXWORD nSBCode, |
270 | WXWORD pos, WXHWND control); | |
271 | ||
42e69d6b | 272 | // child control notifications |
a23fd0e1 VZ |
273 | #ifdef __WIN95__ |
274 | virtual bool MSWOnNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); | |
275 | #endif // __WIN95__ | |
276 | ||
42e69d6b VZ |
277 | // owner-drawn controls need to process these messages |
278 | virtual bool MSWOnDrawItem(int id, WXDRAWITEMSTRUCT *item); | |
279 | virtual bool MSWOnMeasureItem(int id, WXMEASUREITEMSTRUCT *item); | |
280 | ||
281 | // the rest are not virtual | |
282 | bool HandleCreate(WXLPCREATESTRUCT cs, bool *mayCreate); | |
283 | bool HandleInitDialog(WXHWND hWndFocus); | |
284 | bool HandleDestroy(); | |
285 | ||
286 | bool HandlePaint(); | |
287 | bool HandleEraseBkgnd(WXHDC pDC); | |
288 | ||
289 | bool HandleMinimize(); | |
290 | bool HandleMaximize(); | |
291 | bool HandleSize(int x, int y, WXUINT flag); | |
292 | bool HandleGetMinMaxInfo(void *mmInfo); | |
293 | ||
294 | bool HandleShow(bool show, int status); | |
295 | bool HandleActivate(int flag, bool minimized, WXHWND activate); | |
296 | ||
297 | bool HandleCommand(WXWORD id, WXWORD cmd, WXHWND control); | |
298 | bool HandleSysCommand(WXWPARAM wParam, WXLPARAM lParam); | |
299 | ||
300 | bool HandleCtlColor(WXHBRUSH *hBrush, | |
a23fd0e1 VZ |
301 | WXHDC hdc, |
302 | WXHWND hWnd, | |
303 | WXUINT nCtlColor, | |
304 | WXUINT message, | |
305 | WXWPARAM wParam, | |
306 | WXLPARAM lParam); | |
307 | ||
42e69d6b VZ |
308 | bool HandlePaletteChanged(WXHWND hWndPalChange); |
309 | bool HandleQueryNewPalette(); | |
310 | bool HandleSysColorChange(); | |
a23fd0e1 | 311 | |
42e69d6b VZ |
312 | bool HandleQueryEndSession(long logOff, bool *mayEnd); |
313 | bool HandleEndSession(bool endSession, long logOff); | |
a23fd0e1 | 314 | |
42e69d6b VZ |
315 | bool HandleSetFocus(WXHWND wnd); |
316 | bool HandleKillFocus(WXHWND wnd); | |
bfc6fde4 | 317 | |
42e69d6b | 318 | bool HandleDropFiles(WXWPARAM wParam); |
bfc6fde4 | 319 | |
42e69d6b VZ |
320 | bool HandleMouseEvent(WXUINT msg, int x, int y, WXUINT flags); |
321 | bool HandleMouseMove(int x, int y, WXUINT flags); | |
bfc6fde4 | 322 | |
42e69d6b VZ |
323 | bool HandleChar(WXWORD wParam, WXLPARAM lParam, bool isASCII = FALSE); |
324 | bool HandleKeyDown(WXWORD wParam, WXLPARAM lParam); | |
325 | bool HandleKeyUp(WXWORD wParam, WXLPARAM lParam); | |
bfc6fde4 | 326 | |
42e69d6b VZ |
327 | bool HandleQueryDragIcon(WXHICON *hIcon); |
328 | ||
329 | bool HandleSetCursor(WXHWND hWnd, short nHitTest, int mouseMsg); | |
bfc6fde4 | 330 | |
bfc6fde4 VZ |
331 | // Window procedure |
332 | virtual long MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); | |
333 | ||
334 | // Calls an appropriate default window procedure | |
335 | virtual long MSWDefWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam); | |
336 | virtual bool MSWProcessMessage(WXMSG* pMsg); | |
337 | virtual bool MSWTranslateMessage(WXMSG* pMsg); | |
338 | virtual void MSWDestroyWindow(); | |
339 | ||
340 | // Detach "Window" menu from menu bar so it doesn't get deleted | |
341 | void MSWDetachWindowMenu(); | |
342 | ||
a23fd0e1 VZ |
343 | // this function should return the brush to paint the window background |
344 | // with or 0 for the default brush | |
345 | virtual WXHBRUSH OnCtlColor(WXHDC hDC, | |
346 | WXHWND hWnd, | |
347 | WXUINT nCtlColor, | |
348 | WXUINT message, | |
349 | WXWPARAM wParam, | |
350 | WXLPARAM lParam); | |
bfc6fde4 | 351 | |
cc2b7472 VZ |
352 | #if WXWIN_COMPATIBILITY |
353 | void SetShowing(bool show) { (void)Show(show); } | |
354 | bool IsUserEnabled() const { return IsEnabled(); } | |
355 | #endif // WXWIN_COMPATIBILITY | |
bfc6fde4 VZ |
356 | |
357 | // Responds to colour changes: passes event on to children. | |
358 | void OnSysColourChanged(wxSysColourChangedEvent& event); | |
359 | ||
a23fd0e1 VZ |
360 | // initialize various fields of wxMouseEvent (common part of MSWOnMouseXXX) |
361 | void InitMouseEvent(wxMouseEvent& event, int x, int y, WXUINT flags); | |
bfc6fde4 | 362 | |
2bda0e17 | 363 | protected: |
d7c24517 VZ |
364 | // the window handle |
365 | WXHWND m_hWnd; | |
366 | ||
cc2b7472 | 367 | // the old window proc (we subclass all windows) |
bfc6fde4 | 368 | WXFARPROC m_oldWndProc; |
2bda0e17 | 369 | |
cc2b7472 VZ |
370 | // additional (MSW specific) flags |
371 | bool m_useCtl3D:1; // Using CTL3D for this control | |
cc2b7472 VZ |
372 | bool m_backgroundTransparent:1; |
373 | bool m_mouseInWindow:1; | |
374 | bool m_doubleClickAllowed:1; | |
375 | bool m_winCaptured:1; | |
bfc6fde4 VZ |
376 | |
377 | // Caret data | |
cc2b7472 VZ |
378 | bool m_caretEnabled:1; |
379 | bool m_caretShown:1; | |
bfc6fde4 VZ |
380 | int m_caretWidth; |
381 | int m_caretHeight; | |
2bda0e17 | 382 | |
cc2b7472 | 383 | // the size of one page for scrolling |
bfc6fde4 VZ |
384 | int m_xThumbSize; |
385 | int m_yThumbSize; | |
2bda0e17 | 386 | |
a23fd0e1 VZ |
387 | #if wxUSE_MOUSEEVENT_HACK |
388 | // the coordinates of the last mouse event and the type of it | |
cc2b7472 VZ |
389 | long m_lastMouseX, |
390 | m_lastMouseY; | |
391 | int m_lastMouseEvent; | |
a23fd0e1 | 392 | #endif // wxUSE_MOUSEEVENT_HACK |
bfc6fde4 | 393 | |
bfc6fde4 | 394 | WXHMENU m_hMenu; // Menu, if any |
bfc6fde4 | 395 | |
cc2b7472 VZ |
396 | wxButton *m_btnDefault; |
397 | ||
398 | // implement the base class pure virtuals | |
dabc0cd5 VZ |
399 | virtual void DoClientToScreen( int *x, int *y ) const; |
400 | virtual void DoScreenToClient( int *x, int *y ) const; | |
cc2b7472 VZ |
401 | virtual void DoGetPosition( int *x, int *y ) const; |
402 | virtual void DoGetSize( int *width, int *height ) const; | |
403 | virtual void DoGetClientSize( int *width, int *height ) const; | |
404 | virtual void DoSetSize(int x, int y, | |
405 | int width, int height, | |
406 | int sizeFlags = wxSIZE_AUTO); | |
bfc6fde4 | 407 | virtual void DoSetClientSize(int width, int height); |
2bda0e17 | 408 | |
cc2b7472 VZ |
409 | #if wxUSE_TOOLTIPS |
410 | virtual void DoSetToolTip( wxToolTip *tip ); | |
411 | #endif // wxUSE_TOOLTIPS | |
412 | ||
fd3f686c VZ |
413 | private: |
414 | // common part of all ctors | |
415 | void Init(); | |
416 | ||
a23fd0e1 VZ |
417 | // the (non-virtual) handlers for the events |
418 | bool HandleMove(int x, int y); | |
419 | bool HandleJoystickEvent(WXUINT msg, int x, int y, WXUINT flags); | |
420 | ||
421 | #ifdef __WIN95__ | |
422 | bool HandleNotify(int idCtrl, WXLPARAM lParam, WXLPARAM *result); | |
423 | #endif // __WIN95__ | |
424 | ||
425 | DECLARE_NO_COPY_CLASS(wxWindow); | |
fd3f686c | 426 | DECLARE_EVENT_TABLE() |
2bda0e17 KB |
427 | }; |
428 | ||
cc2b7472 VZ |
429 | // --------------------------------------------------------------------------- |
430 | // global functions | |
431 | // --------------------------------------------------------------------------- | |
2bda0e17 | 432 | |
cc2b7472 | 433 | // kbd code translation |
184b5d99 JS |
434 | WXDLLEXPORT int wxCharCodeMSWToWX(int keySym); |
435 | WXDLLEXPORT int wxCharCodeWXToMSW(int id, bool *IsVirtual); | |
2bda0e17 | 436 | |
2bda0e17 | 437 | #endif |
bbcdf8bc | 438 | // _WX_WINDOW_H_ |