Search found 323 matches

by Muetdhiver
Tue Sep 23, 2008 8:12 pm
Forum: C++ Development
Topic: Resizing a wxFrame depending on all sizers it contains...
Replies: 8
Views: 1772

Thanks a lot !!!! It works fine for me too !! Here is the solution: All I have to do is the put m_po_panel->SetSizerAndFit( loc_po_sizer_all ) ; instead of SetSizer( loc_po_sizer_all ). Other things work fine !! Again thanks for this very big help ! Nota: When you create and call your frame: MyFrame...
by Muetdhiver
Mon Sep 22, 2008 7:19 pm
Forum: C++ Development
Topic: Resizing a wxFrame depending on all sizers it contains...
Replies: 8
Views: 1772

Hello ! Thanks for your answers. Unfortunally it did not solve my problem. Turova, i well used loc_po_panel instead of "this" as parent of all my widgets. So the solution cannot be something like this. Here is my code for the window declaration, notice that loc_po_panel became m_po_panel b...
by Muetdhiver
Sun Sep 21, 2008 6:51 pm
Forum: C++ Development
Topic: Resizing a wxFrame depending on all sizers it contains...
Replies: 8
Views: 1772

Thanks for your answer. When I use Fit() function, the window is reduced to the maximum (its size is 2px x 2px or something like this). It seems to fit the window exactly as if it contains nothing. Here are my window declaration: - I declare a new panel. - I declare some widgets into this panel. The...
by Muetdhiver
Sun Sep 21, 2008 4:25 pm
Forum: C++ Development
Topic: Resizing a wxFrame depending on all sizers it contains...
Replies: 8
Views: 1772

Resizing a wxFrame depending on all sizers it contains...

Hi everybody, I've got an application that contains a wxFrame. This frame includes several widgets without size: there sizes are managed with Sizers (wxBoxSizer, ...). When initilizing my frame, I don't know its final size (so I use as argument wxDefaultSize). My question: I juste would like, once a...
by Muetdhiver
Mon Jun 16, 2008 7:24 am
Forum: Platform Related Issues
Topic: [resolved] Porting a project from MSWindows to Ubuntu...
Replies: 6
Views: 1720

Yes ! I downloaded source code and it does work. No need to build wxWidget, better to use delivered packages from ubuntu repositories.

Again thanks, bye.
by Muetdhiver
Wed Jun 11, 2008 7:32 am
Forum: Platform Related Issues
Topic: [resolved] Porting a project from MSWindows to Ubuntu...
Replies: 6
Views: 1720

Hi ! Thanks a lot ! I finally achieved to build my project in debug mode. What i done : I effectivly used the wxwidgets libraries located into the /usr/lib instead of /usr/local/lib directory. So i linked with gtk2-unicode-debug-2.8. To get the command line to build my project, I used wx-config, but...
by Muetdhiver
Mon Jun 09, 2008 7:45 am
Forum: Platform Related Issues
Topic: [resolved] Porting a project from MSWindows to Ubuntu...
Replies: 6
Views: 1720

2) Don't install your libs in /usr, install them in /usr/local. Don't mess with the package management-installed files, it will bite you Thanks a lot Auria for your answer ! I will try to build my app in Unicode mode... but how must I do ? Do I need to add __UNICODE__ to preprocessor definitions or...
by Muetdhiver
Sun Jun 08, 2008 12:57 pm
Forum: Platform Related Issues
Topic: [resolved] Porting a project from MSWindows to Ubuntu...
Replies: 6
Views: 1720

[resolved] Porting a project from MSWindows to Ubuntu...

Hi all ! This post is for a big issue when i'm trying to build an application done under Windows and Visual C++ with Ubunutu and Eclipse CDT + WxWidgets. I succeeded to build the project in Release mode... but how can I do for the Debug target ? I've got a problem at the linking of my project. Here ...