]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/ole/oleutils.h
Revamped border handling.
[wxWidgets.git] / include / wx / msw / ole / oleutils.h
index afab7f2854375b1a95acbd73ebd5d0b795b542eb..157ec93a447091d6dbe059e9edfb225cc3162f9a 100644 (file)
@@ -134,7 +134,7 @@ private:
   {                                                                           \
     wxLogRelease(_T(#classname), m_cRef);                                     \
                                                                               \
-    if ( --m_cRef == 0 ) {                                                    \
+    if ( --m_cRef == wxAutoULong(0) ) {                                                    \
       delete this;                                                            \
       return 0;                                                               \
     }                                                                         \