]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/window.h
safe macro expansion
[wxWidgets.git] / include / wx / univ / window.h
index 4af5b3fb228c8426298fab74cc1e94101b7037f9..baabd5350204d2a2d49511fa31b7322b1a5da258 100644 (file)
@@ -7,7 +7,7 @@
 // Modified by:
 // Created:     06.08.00
 // RCS-ID:      $Id$
-// Copyright:   (c) 2000 Vadim Zeitlin <zeitlin@dptmaths.ens-cachan.fr>
+// Copyright:   (c) 2000 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows license
 ///////////////////////////////////////////////////////////////////////////////
 
@@ -55,10 +55,20 @@ enum
 // wxWindow
 // ----------------------------------------------------------------------------
 
+#if defined(__WXMSW__)
+#define wxWindowNative wxWindowMSW
+#elif defined(__WXGTK__)
+#define wxWindowNative wxWindowGTK
+#elif defined(__WXMGL__)
+#define wxWindowNative wxWindowMGL
+#elif defined(__WXMAC__)
+#define wxWindowNative wxWindowMac
+#endif
+
 class WXDLLEXPORT wxWindow : public wxWindowNative
 {
 public:
-    // ctors and creatie functions
+    // ctors and create functions
     // ---------------------------
 
     wxWindow() { Init(); }