Canvas: added some DECLARE_CLASS macros to stop it failing
in class info initialisation Mmedia: compiles agin Plot: corrected VC++ project settings Simple toolbar: should draw a highlight again now Generic dir control: moved control ids to header for apps that need to get hold of the individual controls Scintilla: unconditionally compile Scintilla_LinkLexers() to correct link error in sample git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -312,18 +312,18 @@ MMBoardFrame::MMBoardFrame(const wxString& title, const wxPoint& pos, const wxSi
|
||||
// Bitmap button panel
|
||||
wxBoxSizer *buttonSizer = new wxBoxSizer(wxHORIZONTAL);
|
||||
|
||||
wxBitmap *play_bmp = new wxBitmap(play_back_xpm);
|
||||
wxBitmap *stop_bmp = new wxBitmap(stop_back_xpm);
|
||||
wxBitmap *eject_bmp = new wxBitmap(eject_xpm);
|
||||
wxBitmap *pause_bmp = new wxBitmap(pause_xpm);
|
||||
wxBitmap play_bmp(play_back_xpm);
|
||||
wxBitmap stop_bmp(stop_back_xpm);
|
||||
wxBitmap eject_bmp(eject_xpm);
|
||||
wxBitmap pause_bmp(pause_xpm);
|
||||
|
||||
m_playButton = new wxBitmapButton(m_panel, MMBoard_PlayButton, *play_bmp);
|
||||
m_playButton = new wxBitmapButton(m_panel, MMBoard_PlayButton, play_bmp);
|
||||
m_playButton->Enable(FALSE);
|
||||
m_pauseButton = new wxBitmapButton(m_panel, MMBoard_PauseButton, *pause_bmp);
|
||||
m_pauseButton = new wxBitmapButton(m_panel, MMBoard_PauseButton, pause_bmp);
|
||||
m_pauseButton->Enable(FALSE);
|
||||
m_stopButton = new wxBitmapButton(m_panel, MMBoard_StopButton, *stop_bmp);
|
||||
m_stopButton = new wxBitmapButton(m_panel, MMBoard_StopButton, stop_bmp);
|
||||
m_stopButton->Enable(FALSE);
|
||||
m_ejectButton = new wxBitmapButton(m_panel, MMBoard_EjectButton, *eject_bmp);
|
||||
m_ejectButton = new wxBitmapButton(m_panel, MMBoard_EjectButton, eject_bmp);
|
||||
m_ejectButton->Enable(FALSE);
|
||||
|
||||
buttonSizer->Add(m_playButton, 0, wxALL, 2);
|
||||
|
Reference in New Issue
Block a user