Search found 34 matches

by musiiged
Thu Jun 26, 2008 6:20 am
Forum: General Development
Topic: Closing a wxWidget application?
Replies: 5
Views: 1713

JudyL wrote:Call Destroy instead of Close in your close event handler
I have tried the Distroy function but it does not close the application properly... I get a link error when I try to compile the application again
by musiiged
Wed Jun 25, 2008 1:52 pm
Forum: General Development
Topic: Closing a wxWidget application?
Replies: 5
Views: 1713

Closing a wxWidget application?

Is there any other way/function that I can use to close a wxWidget application other than Close()? My problem is that am catching a "wxCloseEvent" event and whenever I call Close(), the function that catches "wxCloseEvent" is called and the application never closes.
by musiiged
Wed Jun 25, 2008 8:02 am
Forum: General Development
Topic: How to add a XML node to a xml file
Replies: 0
Views: 664

How to add a XML node to a xml file

Hey guys Am working on a program where I want to make new XML file consisting of XML nodes chosen from an existing XML file. I have a Xml document wxXmlDocument doc; I have made a root as wxXmlNode* Root; doc.SetRoot(Root); So when ever I want to add a node (child) to my xml document "doc"...
by musiiged
Mon Jun 23, 2008 9:31 am
Forum: General Development
Topic: catching the "X" event
Replies: 1
Views: 841

catching the "X" event

How can I catch the event produced when I click on the "X"(the last of the 3 small buttons on the top right corner)?
by musiiged
Fri Jun 20, 2008 7:00 am
Forum: General Development
Topic: Uncommenting xml
Replies: 3
Views: 1167

What does "uncomment an xml node" mean? You mean turning a comment node to a text node? Could you please be a bit more specific and maybe show us the XML you refer to. If I have the xml node below in a xml file <step executor="Per" name="trans"> <parameter name="A...
by musiiged
Thu Jun 19, 2008 2:01 pm
Forum: General Development
Topic: Uncommenting xml
Replies: 3
Views: 1167

Uncommenting xml

Which function can I use to uncomment a xml node or several?
by musiiged
Tue Jun 10, 2008 9:55 am
Forum: Compiler / Linking / IDE Related
Topic: wizards
Replies: 7
Views: 1935

If I am seeing it correctly, you basically miss all of wxWidgets. Please check the minimal sample project and see which libraries are needed. - Jorgen Where can I find "the minimal sample project"? I have tried all the samples(wxWidgets2.8\samples\wizard) and they give the same kind of er...
by musiiged
Tue Jun 10, 2008 8:02 am
Forum: General Development
Topic: connecting wxCommandEvent with wxGridEvent
Replies: 0
Views: 502

connecting wxCommandEvent with wxGridEvent

I have a function below that catches cell events(left click) in a wxGrid void MainPanel::func1(wxGridEvent &event){ } When I right click a cell in the wxGrid, I get a menu whereby when one of the items in the menu is selected, the function "func1" (above) should be called. The function...
by musiiged
Mon Jun 09, 2008 2:02 pm
Forum: General Development
Topic: Drop down menu
Replies: 1
Views: 868

Drop down menu

Hey
I would like to have a drop down menu (like the file menu) when ever I right click a cell of my wxGrid. How produce this menu on a right mouse click event?

NB. I can catch the event but cannot make the menu
by musiiged
Mon Jun 09, 2008 11:47 am
Forum: Compiler / Linking / IDE Related
Topic: wizards
Replies: 7
Views: 1935

ldconfig is only needed for Linux. make sure that the proper libraries are included, this should be done automatically if you use the visual studio generated files from your installed distribution. Somehow it relies on a lib to be there because a header file specified certain methods should be ther...
by musiiged
Mon Jun 09, 2008 9:13 am
Forum: Compiler / Linking / IDE Related
Topic: wizards
Replies: 7
Views: 1935

Did you installed wxWidgets correctly? Maybe you forgot ldconfig at the end? it seems to miss some libraries or relies on. You will have to provide info about how you built it, where you build it on and what version of wxWidgets etc. - Jorgen I have just installed the newest version of wxWidgets bu...
by musiiged
Mon Jun 09, 2008 9:06 am
Forum: General Development
Topic: chkconf.h (from the wizard sample)
Replies: 1
Views: 679

chkconf.h (from the wizard sample)

How can I solve the error below pointing on the second line of the code below? (I cannot see anything missing) c:\wxWidgets-2.8.7\include\wx/msw/chkconf.h(40) : fatal error C1012: unmatched parenthesis : missing ')' #ifndef wxUSE_NORLANDER_HEADERS # if ( wxCHECK_WATCOM_VERSION(1,0) || defined(__WINE...
by musiiged
Mon Jun 09, 2008 7:42 am
Forum: Compiler / Linking / IDE Related
Topic: wizards
Replies: 7
Views: 1935

It has been a while since I installed it so I can not really remember how it was did.... but am working on windows XP if it may help. How am I supposed to install it?
by musiiged
Mon Jun 09, 2008 7:19 am
Forum: Compiler / Linking / IDE Related
Topic: wizards
Replies: 7
Views: 1935

wizards

I get the link errors below when I compile the wizard sample from wxWidgets2.8\samples\wizards. Where Can I get an error free version? How can I solve these link errors? wizard.obj : error LNK2001: unresolved external symbol "protected: static struct wxEventTable const wxPanel::sm_eventTable&qu...