Search found 657 matches

by protocol
Thu Jun 25, 2009 5:03 am
Forum: Platform Related Issues
Topic: Unknown Application Crash Under MS Windows
Replies: 3
Views: 816

When it crashes, what is written to the debug output window?

Are you compiling wxWidgets with the __WXDEBUG__ flag?
by protocol
Thu Jun 25, 2009 5:00 am
Forum: C++ Development
Topic: A question about wxListCtrl and wxLC_VRULES....please help.
Replies: 3
Views: 650

I have the opposite with VRULES showing but HRULES not showing, in Mac.

Please supply a code sample of the issue.

regards.
by protocol
Thu Jun 18, 2009 12:15 am
Forum: wxDev-C++
Topic: wxDialog keyboard issues
Replies: 2
Views: 767

Do you have a question? All of the "issues" you referenced worked fine for me. What version of wxWidgets are you using? Do you have any sample code to support your issues? Is it a single window app or single dialog, meaning you have one dialog in your multi-window app? Its best if a single window ap...
by protocol
Tue Jun 16, 2009 3:01 am
Forum: C++ Development
Topic: wxFileDialog SetDirectory and SetFilename Seem to be ignored
Replies: 30
Views: 4090

One of my concerns is that wxWidgets does not itself use a name space, which is to my mind a sign of immaturity. C++ namespaces have been around for more than 10 years now. Namespaces are used to denote scope, to provide logical organization. All wxWidget entities are prefixed with "wx". By that vi...
by protocol
Mon Jun 15, 2009 2:54 am
Forum: C++ Development
Topic: exFileDialog wildcard doesn't work on initial entry
Replies: 3
Views: 771

try it without the semi-colon.

Code: Select all

"GEDCOM files (*.ged)|*.ged|GEDCOM files (*.GED)|*.GED"
by protocol
Mon Jun 15, 2009 2:42 am
Forum: C++ Development
Topic: wxFileDialog SetDirectory and SetFilename Seem to be ignored
Replies: 30
Views: 4090

wxFD_FILE_MUST_EXIST + wxFD_CHANGE_DIR) I'm not sure I have ever seen the "+" operator used for flags, usually "|" operator is used. Works fine for me, you may want to check the return value set by your getenv call. wxT(std::getenv("HOME")), // try this wxString(std::getenv("HOME")), Even more so, ...
by protocol
Mon Jun 15, 2009 2:33 am
Forum: Database Related
Topic: wxSQLite3, how to build SQLite without dll?
Replies: 16
Views: 11478

I agree with utelle, in that you need to review your linker settings.

But again, I don't have any issues building, and my config is much simpler.

Do you have to build external libs?
by protocol
Sat Jun 13, 2009 8:06 pm
Forum: Database Related
Topic: wxSQLite3, how to build SQLite without dll?
Replies: 16
Views: 11478

No need to compile them separately, at least I never do.

Those two symbols are for sqlite encryption, if you don't need it you can disable wxsqlite encryption.
by protocol
Sat Jun 13, 2009 4:26 pm
Forum: Database Related
Topic: wxSQLite3, how to build SQLite without dll?
Replies: 16
Views: 11478

You only need to add sqlite3.c/h (from amalgamation) to your project and build. No extra config or anything. I've tested this on Mac (10.5) and Win32 (VS 2005).

regards.
by protocol
Fri Jun 12, 2009 5:16 am
Forum: C++ Development
Topic: wxGetApp() not working
Replies: 30
Views: 4440

What are the errors? How are you including it?

You may need to use a forward declaration, in the *.h files then include MyApp.h in the *.cpp files.


regards.
by protocol
Fri Jun 12, 2009 5:13 am
Forum: General Development
Topic: XRC - Yeah or Nay?
Replies: 3
Views: 1088

I've been using XRC files since I found out about them (+3 years ago). Its been a great idea ever since. Any time you can use a MVC paradigm, it probably is a good move. There are several advantages to decoupling code from UI. I'm not a teacher, so you can look it up. But yes I use XRCed to build GU...
by protocol
Fri Jun 12, 2009 5:09 am
Forum: Compiler / Linking / IDE Related
Topic: Code Completion with Xcode 3.0
Replies: 6
Views: 1017

You may have to build your proj first. I have the latest Xcode as well, and all my wxProj code complete as desired. If it doesn't work then, recheck your preferences. If it doesn't seem to work after that, then best of luck fixing it. Thanks. I'll play with it later. Just out of curosity, I had a w...
by protocol
Thu Jun 11, 2009 4:42 am
Forum: Compiler / Linking / IDE Related
Topic: Code Completion with Xcode 3.0
Replies: 6
Views: 1017

You may have to build your proj first. I have the latest Xcode as well, and all my wxProj code complete as desired.

If it doesn't work then, recheck your preferences. If it doesn't seem to work after that, then best of luck fixing it.
by protocol
Sun Jun 07, 2009 6:38 am
Forum: C++ Development
Topic: Serializing wxStrings
Replies: 4
Views: 944

wxWidgets does provide plenty of other options to store strings.

wx data storage IO classes
Check out: http://docs.wxwidgets.org/stable/wx_classesbycat.html (Stream Classes)

Also, I recommend you use: http://docs.wxwidgets.org/stable/wx_wxa ... ml#wxarray instead of the STL vector

regards.
by protocol
Thu Jun 04, 2009 12:00 am
Forum: wxDev-C++
Topic: How to put text in the Debug Output pane?
Replies: 6
Views: 1234

you have to build your application against the __WXDEBUG__ flag, you can't just define it in code (h/cpp).

Other than the above, you should be able to use printf(...) like normal.