]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/caret.h
avoid warnings C4311/4312 when building with MSVC >= 7 (patch 1414052)
[wxWidgets.git] / include / wx / msw / caret.h
index e1c270508b4a3395e63d51b8b179971d226b6037..47b8c8a7005fd6b2a3b1e028c8be46ef568a8ec2 100644 (file)
 #ifndef _WX_CARET_H_
 #define _WX_CARET_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-    #pragma interface "caret.h"
-#endif
-
 class WXDLLEXPORT wxCaret : public wxCaretBase
 {
 public:
@@ -45,7 +41,7 @@ protected:
     {
         wxCaretBase::Init();
 
-        m_hasCaret = FALSE;
+        m_hasCaret = false;
     }
 
     // override base class virtuals