Search found 428 matches

by xaviou
Wed Aug 30, 2006 8:56 pm
Forum: Compiler / Linking / IDE Related
Topic: Lots of warnings while compiling with MinGW32
Replies: 2
Views: 540

Hi

I re-tryed compiling libs, using MSYS (with the same version of gcc) and... no warnings !

Isn't it strange ?
by xaviou
Wed Aug 30, 2006 8:49 pm
Forum: C++ Development
Topic: Safe window identifier...
Replies: 4
Views: 577

Hi Juste to give you a small precision : the following is coming from wxWidgets doc (see wxID index's topic) : The automatically generated identifiers are always negative and so will never conflict with the user-specified identifiers which must be always positive So, don't worry about automatically ...
by xaviou
Sat Aug 26, 2006 11:49 am
Forum: Compiler / Linking / IDE Related
Topic: Lots of warnings while compiling with MinGW32
Replies: 2
Views: 540

Lots of warnings while compiling with MinGW32

Hi. I tryed to recompile wx27 libs directly with MinGW32 3.4.2. I didn't modify any option in "setup.h" When compiling for Static libs, everything is OK. When compiling for shared libs, I have a lot of warnigs like: In file included from ../../include/wx/memory.h:16, from ../../include/wx/object.h:2...
by xaviou
Thu Aug 24, 2006 6:33 am
Forum: C++ Development
Topic: Creating a wxFrame in a DLL
Replies: 8
Views: 1682

Sharkie: Hello. I'm sorry, but I made this "for fun". Programming isn't my job. And the base idea used in this tuto is not mine : I juste found an example that I've simplified. The original idea can be found here: http://bzzt.net/~wxwidgets/PluginExample.zip If you've downloaded the source code of m...
by xaviou
Tue Aug 22, 2006 9:18 pm
Forum: C++ Development
Topic: Creating a wxFrame in a DLL
Replies: 8
Views: 1682

Hello. I recently made a small tuto for creating a dll plugin application: I first create the wxFrame in the exe, and add some wxpanels from one or more dll (a plugins system) The tuto is in french, but perhaps it can help you You can find it here : http://www.wxdevelop.com/tuto=FAIRE_UNE_INTERFACE_...
by xaviou
Tue Aug 22, 2006 8:42 pm
Forum: C++ Development
Topic: Putting .ico icons on a wxToolBar
Replies: 1
Views: 585

You can try it yourself: icon.LoadFile("IconSave", wxBITMAP_TYPE_ICO_RESOURCE); bitmap.CopyFromIcon(icon); bitmap.SaveFile("icon.xpm",wxBITMAP_TYPE_XPM); Don't forget the wxImage::InitAllImageHandlers() for it to work. You can also try a free program called XPM Convert You can find it here : http://...
by xaviou
Mon Aug 21, 2006 4:16 pm
Forum: Platform Related Issues
Topic: ReturnCode of a wxDialog (linux problem)
Replies: 2
Views: 837

Hi
That's ok with EndModal(...)

I don't know why, but I was sure that EndModal() was destroying the wxDialog, and I want it to stay hidden only.
But it does not, so, that's fine.

Thanks a lot.
by xaviou
Mon Aug 21, 2006 3:29 pm
Forum: Platform Related Issues
Topic: ReturnCode of a wxDialog (linux problem)
Replies: 2
Views: 837

ReturnCode of a wxDialog (linux problem)

Hi I have a problem on using a wxDialog derived class: I've created a small dialog witch is showing a few buttons. When I click on a button, it makes a SetReturnCode(...) and the, hides the dialog. void MyDialog::OnButtonClick(wxCommandEvent& event) { SetReturnCode(10); // for example Hide(); } The ...