Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

wxSmith development

<< < (26/34) > >>

byo:
Small announcement:

wxSmith is able to handle colour and font properties for default widgets so it can produce more artistic resources ;)

Some screenshoots in attachments :)



[attachment deleted by admin]

David Perfors:
Hi Byo, I want to compile wxSmith with Unicode support but that isn't possible...
I get the following error:

--- Code: ---defwidgets\wxsspinctrl.cpp:23:1: pasting "LL" and "L"0"" does not give a valid preprocessing token
defwidgets\wxsspinctrl.cpp: In member function `virtual void wxsSpinCtrl::BuildExtVars()':
defwidgets\wxsspinctrl.cpp:23: error: `LL' undeclared (first use this function)
defwidgets\wxsspinctrl.cpp:23: error: (Each undeclared identifier is reported only once for each function it appears in.)

--- End code ---

byo:

--- Quote from: mispunt on September 20, 2005, 08:35:43 am ---Hi Byo, I want to compile wxSmith with Unicode support but that isn't possible...

--- End quote ---

My mistake - I haven't compiled wxSmith with unicode support lately. Just wait a minute wand it will be fixed ;)

EDIT: Fixeed version is in CVS :)

cyberkoa:
It seems like is my mistake , thx byo for fixing it :oops:

tiwag:
i wanted to learn how to work with wxSmith and tried to make a dialog with buttons.
on Button Click a wxTextCtrl should be updated with a new text.

1.) typo in wxButton->SetToolTip
then i noticed, that when i want to set a Tooltip for the Button, thereĀ  is a typo.
It should insert a wxButton->SetToolTip() member function call,
but it inserts a wxButton->SetToolTop() instead,
which leads to a compiler error of course.

2.)  EVENT Handling
i tried to use an event handling function for my button,
everything looks fine, there is an  DECLARE_EVENT_TABLE() in the class definition
and an EVENT_TABLE in the implementation file. The app builds fine without errors
but the button-event handler function never gets called !?!

maybe you have an example and/or some documentation how this should work ?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version