Fixed compile bug in dropsrc.cpp (constr. arg); GnuWin32 fix in registry.cpp;

combobox event fix; moved SetAcceleratorTable down to window.h/cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
1998-08-13 10:16:03 +00:00
parent 5e0394ae9b
commit 088a95f5ff
6 changed files with 27 additions and 9 deletions

View File

@@ -432,6 +432,11 @@ void wxToolBar95::ToggleTool(int toolIndex, bool toggle)
}
}
bool wxToolBar95::GetToolState(int toolIndex) const
{
return (::SendMessage((HWND) GetHWND(), TB_ISBUTTONCHECKED, (WPARAM)toolIndex, (LPARAM)0) != 0);
}
void wxToolBar95::ClearTools(void)
{
// TODO: Don't know how to reset the toolbar bitmap, as yet.