public:
inline wxToolBarTool( wxToolBar* pTbar
,int vId
+ ,const wxString& rsLabel
,const wxBitmap& rBitmap1
,const wxBitmap& rBitmap2
- ,bool bToggle
+ ,wxItemKind vKind
,wxObject* pClientData
,const wxString& rShortHelpString
,const wxString& rLongHelpString
) : wxToolBarToolBase( pTbar
,vId
+ ,rsLabel
,rBitmap1
,rBitmap2
- ,bToggle
+ ,vKind
,pClientData
,rShortHelpString
,rLongHelpString
wxToolBarToolBase* wxToolBar::CreateTool(
int nId
+, const wxString& rsLabel
, const wxBitmap& rBitmap1
, const wxBitmap& rBitmap2
-, bool bToggle
+, wxItemKind vKind
, wxObject* pClientData
, const wxString& rShortHelpString
, const wxString& rLongHelpString
{
return(new wxToolBarTool( this
,nId
+ ,rsLabel
,rBitmap1
,rBitmap2
- ,bToggle
+ ,vKind
,pClientData
,rShortHelpString
,rLongHelpString
wxRGBToColour(m_backgroundColour, GetSysColor(COLOR_BTNFACE));
m_foregroundColour = *wxBLACK;
- SetFont(wxSystemSettings::GetSystemFont(wxSYS_DEFAULT_GUI_FONT));
+ SetFont(wxSystemSettings::GetFont(wxSYS_DEFAULT_GUI_FONT));
// position it
int x = pos.x;
}
MRESULT wxToolBar::OS2WindowProc(
- HWND hWnd
-, WXUINT ulMsg
+ WXUINT ulMsg
, MPARAM wParam
, MPARAM lParam
)