ok so a2dGetCmdh()->GetFill() dosn't return a global or default fill but the last fill used in an object ???
I use that and it seems to work a2dFill* fill = a2dGetCmdh()->GetFill()->TClone(a2dObject::clone_flat ); fill->SetStyle((a2dFillStyle)(commandEvent.GetSelection())); a2dGetCmdh()->Submit( new a2dCommand_ChangeCentralStyle( a2dGetCmdh(),fill)); ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Wxart2d-users_dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
