unsigned short wxGEditorTabPanel::getUndoState( std::string &stun)
{
stun = "Undo";
- if(states.size()>0)
+ if(sstates.size()>0)
{
if(_actualdo == states.begin() )
+// if(sstates.size()==1 )
{
-
+// _sactualdo=sstates.begin();
return 0;
- }
- else
- {
+ } else {
stun +=" - ";
- stun += _sactualdo->substr(0,(--_sactualdo)->find_last_of("."));
+printf("EED wxGEditorTabPanel::getUndoState This mecanisme is not working ?????? _sactualdo sstates _actualdo state \n");
+// stun += _sactualdo->substr(0,(--_sactualdo)->find_last_of("."));
_sactualdo++;
return 1;
}
}
+ return 0;
}
unsigned short wxGEditorTabPanel::getRedoState( std::string &stre)