mDBmp.LoadFile( "start95_dp_icon", wxBITMAP_TYPE_BMP_RESOURCE );
-#endif
+#else
if ( !mDBmp.Ok() )
mDBmp = wxBitmap(start95_dp_xpm);
+#endif
pBmp = &mDBmp;
}
pToolBar->Create( mpInternalFrm, -1 );
// 1001-1006 ids of command events fired by added tool-buttons
-#ifdef __WXMSW__
+#ifdef __WXMSW__
pToolBar->AddTool( 1001, wxBitmap("new_icon") );
pToolBar->AddTool( 1002, wxBitmap("open_icon") );
pToolBar->AddTool( 1003, wxBitmap("save_icon") );
save_icon BITMAP "../bitmaps/save.bmp"
saveall_icon BITMAP "../bitmaps/saveall.bmp"
cut_icon BITMAP "../bitmaps/cut.bmp"
+new_icon BITMAP "../bitmaps/new.bmp"
copy_icon BITMAP "../bitmaps/copy.bmp"
paste_icon BITMAP "../bitmaps/paste.bmp"
return font;
#endif
- return wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT);
+ return wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
}
void wxTabbedWindow::RecalcLayout(bool andRepaint)
return font;
#endif
- return wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT);
+ return wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT);
}
void wxPaggedWindow::OnTabAdded( twTabInfo* pInfo )
{
long txtWidth, txtHeight;
- srcDc.SetFont( wxSystemSettings::GetSystemFont(wxSYS_SYSTEM_FONT) );
+ srcDc.SetFont( wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT) );
srcDc.GetTextExtent( mLabelText, &txtWidth, &txtHeight );
if ( mTextAlignment == NB_ALIGN_TEXT_RIGHT )
pTopWnd = pParent;
} while(1);
- destDc.SetFont( wxSystemSettings::GetSystemFont( wxSYS_SYSTEM_FONT) );
+ destDc.SetFont( wxSystemSettings::GetSystemFont( wxSYS_DEFAULT_GUI_FONT) );
// Should be wxSYS_COLOUR_BTNTEXT, but gtk gives white?
destDc.SetTextForeground( wxSystemSettings::GetSystemColour(wxSYS_COLOUR_BTNTEXT) );