I was thumbing through the source yesterday seeing if i could find out maybe if it was a problem with c::b not wx and it turns out it may be. I was not able to locate at anytime the save button getting toggled/disable nor does it provide a secondary image to "grey" too which seems to be needed as per the wxtoolbar docs. If I just didn't see these too forgive me the code was kinda confusing as to finding these two things.
Do a full project search of idFileSave.
.../src/main.cpp
if (m_pToolbar)
{
m_pToolbar->EnableTool(idFileSave, ed && ed->GetModified());
m_pToolbar->EnableTool(idFilePrint, Manager::Get()->GetEditorManager() && Manager::Get()->GetEditorManager()->GetBuiltinActiveEditor());
}
Yes i saw that. What i mean is according to the wx manual (or at least what I understood) is that you need to define 2 images in order to have a distinct enable disable. I didn't read anything about it automatically just greying the current image.
The toolbar buttons related to the debugger are changing state with no problem.
Why the toolbar save button dont change state?
Edit: I tried with nightly build 3989 in win xp
Quote from: Baco on June 03, 2007, 06:27:15 PM
The toolbar buttons related to the debugger are changing state with no problem.
Why the toolbar save button dont change state?
Quote from: killerbot on June 03, 2007, 06:29:45 PM
Regressions/Confirmed/Annoying/Common bugs:
- toolbar-images-not-changing-state (is a wx problem/Win XP problem)
Note: I read on this forum that Vista does NOT have this problem.
Tim S