Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Plugins development => Topic started by: MortenMacFly on April 24, 2007, 11:21:50 pm

Title: [wxSmith] 2 minor issues with wxTimer
Post by: MortenMacFly on April 24, 2007, 11:21:50 pm
Dear Byo,
playing around with wxSmith lead me to discover 2 very minor glitches:
- the property is called "Inerval" instead of "Interval"
- it's not possible to change the Identifier to something else than ID_TIMER1
The second one might be on purpose (why?)...?!
Everything else I played around with was solid (as usual ;-)).
With best regards, Morten.
Title: Re: [wxSmith] 2 minor issues with wxTimer
Post by: raph on April 24, 2007, 11:52:44 pm
- it's not possible to change the Identifier to something else than ID_TIMER1
The second one might be on purpose (why?)...?!
If you give two timers the same identifier, one timer will fall back to ID_TIMER1 (at least that's what I experienced).
Beside that it works as expected, here.

Regards raph
Title: Re: [wxSmith] 2 minor issues with wxTimer
Post by: byo on April 24, 2007, 11:58:09 pm
Dear Byo,
playing around with wxSmith lead me to discover 2 very minor glitches:
- the property is called "Inerval" instead of "Interval"
- it's not possible to change the Identifier to something else than ID_TIMER1
The second one might be on purpose (why?)...?!
Everything else I played around with was solid (as usual ;-)).
With best regards, Morten.

First one fixed :)

Second one may be some bigger issue. There's some bug in wxSmith which forces identifiers to be restored to default value (bug already posted on berlios). I haven't found but I also haven't looked for it.

If you give two timers the same identifier, one timer will fall back to ID_TIMER1 (at least that's what I experienced).
Beside that it works as expected, here.

Yup, wxSmith usually don't allow two items in one resource to share same id. Currently if you want have two items with same id, you may use raw number instead of identifier value. But haven't tested that yet.

Regards
  BYO