]> git.saurik.com Git - wxWidgets.git/commitdiff
Misc. fixes for obscure compilers
authorJulian Smart <julian@anthemion.co.uk>
Tue, 8 Feb 2000 19:17:00 +0000 (19:17 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Tue, 8 Feb 2000 19:17:00 +0000 (19:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/datetime.cpp
src/common/framecmn.cpp
src/common/timercmn.cpp

index 04fac9daaf512a348d180a1345e8a7d02e599566..eafbeeb5863cedd1db4bf5f3ddc309b419878eb0 100644 (file)
@@ -3550,3 +3550,5 @@ size_t wxDateTimeWorkDays::DoGetHolidaysInRange(const wxDateTime& dtStart,
 
     return holidays.GetCount();
 }
+
+
index c2f9f21f046c6cc4322b748eb289085e9c3f94cc..ef3ab1defcbbdf4aa43e7caa4d32c0beb2a12c75 100644 (file)
@@ -129,7 +129,7 @@ wxPoint wxFrameBase::GetClientAreaOrigin() const
     wxPoint pt(0, 0);
 
 #if wxUSE_TOOLBAR
-    if ( GetToolBar() )
+    if ( GetToolBar() && GetToolBar()->IsShown() )
     {
         int w, h;
         GetToolBar()->GetSize(& w, & h);
index f6b77360a9b5dc054f7a1394f1890e97124f43a9..000226700f874ea898d0e11cf711fb29c91169b2 100644 (file)
@@ -258,7 +258,7 @@ wxLongLong wxGetLocalTimeMillis()
         return (val + tp.millitm);
     }
 #else
-#ifndef __BORLANDC__
+#if !defined(__BORLANDC__) && !(defined(__VISUALC__) && defined(__WIN16__))
     #warning "wxStopWatch will be up to second resolution!"
 #endif
 #endif