Search found 30 matches

by Deschamps
Thu May 22, 2008 9:46 am
Forum: Platform Related Issues
Topic: Ubuntu, where is setup.h?
Replies: 5
Views: 1301

(..) on Windows, people have to alter setup.h to get different builds. That isn't done in Linux: there's a script, wx-config, that lets you select which wx version you want your app to build against. (..) Not necessarily. Using MinGW (gnu-gcc) you can edit <wxMSW>\build\msw\config.gcc (I suppose th...
by Deschamps
Mon May 19, 2008 9:22 am
Forum: Compiler / Linking / IDE Related
Topic: MinGW Vista native Look&Feel
Replies: 2
Views: 3031

You could also use stand-alone .Manifest files for your apps. Besides, you can embed the manifest file in your executable compiling a custom .rc file (or adding those lines to the one you're using in your project). Attached, there is a .zip file containing two sample files (generic.Manifest and gene...
by Deschamps
Fri May 16, 2008 10:35 pm
Forum: C++ Development
Topic: Resizing Panel
Replies: 3
Views: 969

sercani wrote:I've already done that but the choosen panel must fill the client area, that is the main problem...
Did you try calling Layout() after hidding the related controls?

Regards.
by Deschamps
Sun May 11, 2008 10:56 am
Forum: C++ Development
Topic: wxGLCancas segmentation fault with release build
Replies: 9
Views: 1304

Could you attach your C::B project file (only the .cbp file)? I think that maybe you are linking against wrong libraries in your release target. Or maybe you've not built properly your wxMSW release libraries. I tried to create a C::B project from scratch, adding the penguin sample source code, and ...
by Deschamps
Fri May 09, 2008 8:27 am
Forum: C++ Development
Topic: wxGLCancas segmentation fault with release build
Replies: 9
Views: 1304

When you compiled the penguin sample, did you compile it from the command line? Or creating a C::B project?
Are you using wx-config or another tool like that?
by Deschamps
Thu May 08, 2008 9:37 am
Forum: C++ Development
Topic: wxGLCancas segmentation fault with release build
Replies: 9
Views: 1304

I haven't found problems like those up to now, and I've developed programs using wxGLCanvas in different machines, with different custom wx-libs versions. Only as a confirmation, when you built your wxMSW libraries, did you edit before that your <wxMSW folder>/include/wx/msw/setup.h file? (setting u...
by Deschamps
Tue May 06, 2008 10:32 am
Forum: Compiler / Linking / IDE Related
Topic: Using contrib/stc with CodeBlocks
Replies: 6
Views: 1089

Hello. You don't need to build any wxMSW library for C::B itself. If you've downloaded the last released installer for this IDE, you'll find that it already includes a custom wxWidgets. That library is the only one that C::B needs to run properly. If I'm not wrong, you'll need to build that library ...
by Deschamps
Wed Apr 23, 2008 5:44 pm
Forum: C++ Development
Topic: Opening and Saving
Replies: 15
Views: 3727

mrmarky2 wrote:Can anyone tell me how they would do this? (With a little bit of code.)
.. and in regards to the wxFileDialog that Auria suggested a few messages ago, you could also consider reading the Using_common_dialogs from the wxWidgets wiki.

Regards.
by Deschamps
Wed Apr 23, 2008 3:35 pm
Forum: C++ Development
Topic: Opening and Saving
Replies: 15
Views: 3727

In my humble opinion, you should study the whole source code provided in those guides and read the wxWidgets documentation, instead of copy/pasting pieces of code from here and there, expecting that it'll work magically. In regards to that error, you should implement that function (or include the pr...
by Deschamps
Tue Apr 22, 2008 7:50 pm
Forum: Platform Related Issues
Topic: SwapBuffers Access Violation
Replies: 9
Views: 2320

Is there a better way to set up the GLCanvas class so that it can hold a context? Well. I admit that i had never used the 4th constructor for wxGLCanvas (I'm a creature of habit and always used the first one). But, I've tested updating a piece of code I had created time ago, and it has worked fine ...
by Deschamps
Tue Apr 22, 2008 9:06 am
Forum: Platform Related Issues
Topic: SwapBuffers Access Violation
Replies: 9
Views: 2320

Re: SwapBuffers Access Violation

(...) SetCurrent(*m_MainGLContext); //set before opengl commands (...) I'm not sure about this, but... why are you calling SetCurrent in this manner (with a pointer to a pointer)? I suppose that you should use: m_MainGLContext->SetCurrent(this) or his equivalent form this->SetCurrent( m_MainGLConte...
by Deschamps
Mon Apr 21, 2008 8:38 am
Forum: C++ Development
Topic: Questions about distributing wxWidgets based application.
Replies: 6
Views: 1699

Since the precompiled wxWidgets for Windows is already available at http://wxpack.sourceforge.net/, my question is: does wxWidgets license allow me to distribute the precompiled wxWidgets for Linux and Mac? If you distribute the binaries for your apps in Windows plattforms, then, you should add you...
by Deschamps
Mon Apr 21, 2008 8:21 am
Forum: wxDev-C++
Topic: Random Combination[help]
Replies: 4
Views: 966

Re: Random Combination[help]

Can someone give me a little help? Have you tried something, yet? What problems have you encountered with your code? As a suggestion, you could try generating each character (one after another), using their ASCII codes (with a previously defined interval for valid characters and numbers to generate...
by Deschamps
Sun Apr 20, 2008 4:24 pm
Forum: C++ Development
Topic: Problem adding tooltips (in linux)
Replies: 10
Views: 1865

(..) Objects inside staticboxes don't work with tooltips but if you place an object outside of staticboxes then tooltips work just fine (..) What do you mean? The first test application I run before posting have some controls inside a wxStaticBoxSizer. To be concrete: two wxColourPickerControl, fou...
by Deschamps
Sun Apr 20, 2008 4:10 pm
Forum: Compiler / Linking / IDE Related
Topic: best ide integration
Replies: 12
Views: 2814

i looked at code::blocks however the last stable build was years ago, so it didn't give me confidence (..) Just as explanation: You should look for it again, because on february,28 a new stable release (8.02) has been launched. And I think that wxFormBuilder (which has also released an stable versi...