]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/busyinfo.cpp
use alpha channel in Blit() as well and not only in DrawBitmap()
[wxWidgets.git] / src / generic / busyinfo.cpp
index 5acc107333979c655393a1854e7366b7551aa4bb..ad0bd8af6b57c92b3efd799a30ed0b83eee61d3e 100644 (file)
@@ -12,7 +12,7 @@
 
 #include "wx/wxprec.h"
 
-#ifdef __BORDLANDC__
+#ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
@@ -105,9 +105,13 @@ wxBusyInfo::wxBusyInfo(const wxString& message, wxWindow *parent)
 {
     m_InfoFrame = new wxInfoFrame( parent, message);
     m_InfoFrame->Show(TRUE);
+#ifdef __WXMAC__
+       m_InfoFrame->Update() ;
+#else
     wxYield();
     m_InfoFrame->Refresh();
     wxYield();
+#endif
 }
 
 wxBusyInfo::~wxBusyInfo()