//==================================================
//==================================================
- void WxGimmickView::UpdateWindowUI(long flags)
- {
- if(mViewer)
- {
- mViewer->RefreshIfNecessary();
- }
- }
+
+#if defined(WIN32)
//==================================================
void WxGimmickView::OnInternalIdle()
{
mViewer->RefreshIfNecessary();
}
}
-
+#else
+ void WxGimmickView::UpdateWindowUI(long flags)
+ {
+ if(mViewer)
+ {
+ mViewer->RefreshIfNecessary();
+ }
+ }
+#endif
//==================================================
//==================================================
/// AddProgress Gimmick callback
void OnAddProgress( Gimmick::AddProgress& );
+
+#if defined(WIN32)
/// Called upon to refresh the viewer once there are no actions to be done
void OnInternalIdle();
-
+#else
void UpdateWindowUI(long flags = wxUPDATE_UI_NONE);
+#endif
/// callback to add a database
void OnAddDB(wxCommandEvent& event);