Page 1 of 1

Dev-CPP keeps tossing my form data

Posted: Sun Jul 05, 2009 1:21 am
by Will Pittenger
Except for function implementations, I keep getting reset to what I started with for that form. It appears to happen every time I restart the IDE. Between that and the severe lack of documentation for wxWidgets, I am debating looking elsewhere.

Example on the documentation problem: What is the difference between wxTextCtrl::ClearSelection() and wxTextCtrl::RemoveSelection()? I had to look up the prototypes just to verify that there were functions to delete selected text.

Posted: Sun Jul 05, 2009 7:21 am
by Sof_T
Which version of the wxWidgets library are you using? I can't find wxTectCtrl::ClearSelection() or wxTectCtrl::RemoveSelection() in my header files Clear and Remove exist and are documented.

Next which version wxDev-C++ are you using? on which operating system? and what are the precise steps to reproduce the problem?

Posted: Sun Jul 05, 2009 9:04 am
by Will Pittenger
wxWidgets 2.8.7
wxDev C++ 7.0 RC5 build

The control is labeled wxEdit in the component panel.

Posted: Sun Jul 05, 2009 3:29 pm
by Sof_T
Rc5 has at least one serious bug which affects the wxform generation at the moment which is why it is still in release candidate and not final release at the moment. I guess it is this bug that is causing your problem. The IDE has undergone some major changes since the last release and unfortunately bugs are to be expected at this moment. You might be better off using the previous release and not the 7 at the moment.

It's killing me too.

Posted: Mon Jul 06, 2009 7:23 pm
by webmasterpdx
I did discover that the controls are in the .wxform file but are not displayed on the form. It only seems to happen on the second form I create which in my case is a dialog. It's really annoying.

I may have to go back a I am doing serious work with this.

Are there any problems with going back to the last stable release? I went with the beta because it had AUI controls.

Just a note for something else I'd love to see. wxWizard doesn't have any visual tools. I find that annoying. What I was trying to do was create a wxNotebook on a dummy panel and put a bunch of panels in that that I can then retrieve and put in my wxwizard. This way, at least, I can do some visual design of wizards.