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

wxSmith development

<< < (29/34) > >>

byo:

--- Quote from: jmccay on October 28, 2005, 03:54:07 am ---I have created a page on the wiki under tutorials called "WxSmith Tutorial & Pointers".  I only filled in a pointer, but it's a good starting place for tutorial on using wxSmith.

jmccay

--- End quote ---

Thx for starting it :)

I've almost written wxSmith "Hello world tutorial" :). Maybe i'll fill empty Tutorial section :)

MaikoID:
Hi,
Why "code completion" don't work with the "wxSmith" variables ?

when I put this


--- Code: ---.
.
.
StatusBar1 = new wxStatusBar(this, ID_STATUSBAR1, 0, _T("ID_STATUSBAR1"));
StatusBar1. (don't show the properties of this object)
.
.
.
--- End code ---

rcoll:
This is the wrong forum for this question, but ..

Your code is wrong, and so code completion cannot parse it.  When you enter

StatusBar1 = new wxStatusBar(this, ID_STATUSBAR1, 0, _T("ID_STATUSBAR1"));

the correct reference is

StatusBar1->something

not

StatusBar1.something

Notice the pointer ref "->" rather than the direct ref "."

Ringo

MaikoID:
I know that, but not work with -> too.

It's very difficult to program with GUI interfaces, without these tricks.

byo:
I know about that problem. But I can not force reparsing of files in any way from plugin (I hope I'm wrong and somebody shows me the solution).

I work this way: I always keep the header file open, when I have to write some part of the code I press Ctrl+S (Save All) - this forces all files to be reparsed.


--- Quote from: MaikoID on October 17, 2008, 03:02:16 pm ---It's very difficult to program with GUI interfaces, without these tricks.

--- End quote ---

Hmm, maybe little bit harder than usual but I wouldn't label it "difficult". It's very useful and I like completion a lot but it may make you to lazy. Side effect: unfortunately more bugs and more time spent on finding them (that's real-life example).

Regards

   BYO

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version