]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/private.h
Added a const for CW compilation
[wxWidgets.git] / include / wx / msw / private.h
index e02361c17e2378f0d974a2e2d0862c07f5a56936..f21b7a5d5b492ef12e88b7e6c78b5ac00215b30a 100644 (file)
@@ -398,6 +398,9 @@ private:
    DECLARE_NO_COPY_CLASS(SelectInHDC)
 };
 
+#ifdef __WATCOM__
+//FIXME why does watcom dislike this ?? CE 05 April 2003
+
 // when working with global pointers (which is unfortunately still necessary
 // sometimes, e.g. for clipboard) it is important to unlock them exactly as
 // many times as we lock them which just asks for using a "smart lock" class
@@ -437,6 +440,7 @@ private:
     DECLARE_NO_COPY_CLASS(GlobalHandle)
 };
 
+#endif //__WATCOM__
 // ---------------------------------------------------------------------------
 // macros to make casting between WXFOO and FOO a bit easier: the GetFoo()
 // returns Foo cast to the Windows type for oruselves, while GetFooOf() takes