Search found 323 matches

by Muetdhiver
Sun Mar 04, 2012 9:55 am
Forum: C++ Development
Topic: deleting a function pointer doesn't work since wx-2.9.3
Replies: 10
Views: 2642

Re: deleting a function pointer doesn't work since wx-2.9.3

Wow, it seems more a memory problem than a wxWidgets one. Maybe something have a side effect one your code, there are memory leaks somewhere, and changing to wx2.9.3 shows up the error. Are you using your framework in debug mode ? in release ? Maybe there is something wrong in your code and changing...
by Muetdhiver
Fri Mar 02, 2012 3:14 pm
Forum: C++ Development
Topic: Passing array into function via void
Replies: 18
Views: 2896

Re: Passing array into function via void

Actually, you are wrong about what you want to do and the way used to set up the solution. [-X Using void pointers in interfaces implies that you know what to do in interface implementation. I mean, this is not because you use void* in your function definition that this function will be generic and ...
by Muetdhiver
Fri Mar 02, 2012 1:25 pm
Forum: C++ Development
Topic: Auto-completion under wxGTK ?
Replies: 3
Views: 1002

Re: Auto-completion under wxGTK ?

Hummm, no sorry.

I was speaking about wxTextEntry::AutoComplete (wxTextCompleter *completer) function.
by Muetdhiver
Fri Mar 02, 2012 1:15 pm
Forum: C++ Development
Topic: Passing array into function via void
Replies: 18
Views: 2896

Re: Passing array into function via void

Hi, I can't figure out what you want.... Can you explain more ??? Moreover, it is no wxWidgets related but it is a simple C question.... Your function void ME::Dump( HANDLE appHandle, u32 valueSize, void* ramBuff ) is not ended, and you never read ramBuff. What you want to achieve ? If you want to r...
by Muetdhiver
Fri Mar 02, 2012 9:36 am
Forum: C++ Development
Topic: Auto-completion under wxGTK ?
Replies: 3
Views: 1002

Auto-completion under wxGTK ?

Hi, I've recently set up auto-completion for several GUI of my project, this works well under Windows. But there is no version planned to be released for wxGTK..... Do you have any idea about dates ? In which milestone of wxWidgets auto-completion will be available under wxGTK ? I found nothing in T...
by Muetdhiver
Fri Feb 17, 2012 2:21 pm
Forum: Platform Related Issues
Topic: Windows console launched with my app...
Replies: 2
Views: 1585

Re: Windows console launched with my app...

Yes, this is the solution ! Thanks a lot for your help.

Bye.
by Muetdhiver
Sun Feb 05, 2012 10:19 am
Forum: Platform Related Issues
Topic: Windows console launched with my app...
Replies: 2
Views: 1585

Windows console launched with my app...

Hi, I'm working under Ubuntu, I've made an application and I try to port it under windows. After compiling it with Eclipse / GCC toolchain, I've got an executable. When I run it, two windows appear : my program, and a console (DOS) window, black with nothing into. I don't know how to remove it. I al...
by Muetdhiver
Mon Jan 23, 2012 10:30 am
Forum: C++ Development
Topic: pointer to object
Replies: 3
Views: 778

Re: pointer to object

Really hard to understand you...

Could you mark this thread as solved please....
by Muetdhiver
Mon Jan 23, 2012 10:22 am
Forum: C++ Development
Topic: storing font in config file
Replies: 8
Views: 1866

Re: storing font in config file

Hi, I don't understand what you actually want to store (which types of data ?), and what do you mean by "I need disc font"... But you can store everything in a pref config file, the wxConfigBase does it for you. Data must not be too big. Depending on what you want to store, you maybe need to seriali...
by Muetdhiver
Mon Jan 23, 2012 9:52 am
Forum: C++ Development
Topic: Tab traversal doesn't work for my wxTextCtrl ?
Replies: 2
Views: 1594

Re: Tab traversal doesn't work for my wxTextCtrl ?

Hello, thanks doublemax for your answer. I confirm that my code run to event.Skip() when Tab is hit (so loc_l_code == WXK_TAB). But you are right, I found a workaround just after posting this message, I actually do the job of the Skip function, that is to say Navigate to the next text control when t...
by Muetdhiver
Sun Jan 22, 2012 11:21 pm
Forum: C++ Development
Topic: Tab traversal doesn't work for my wxTextCtrl ?
Replies: 2
Views: 1594

Tab traversal doesn't work for my wxTextCtrl ?

Hi all, I've got the following configuration : My application is composed of a wxFrame. It contains a notebook with several panels (wxPanel). Each panel have the tabTraversal default style. In a specific panel, I've got two inner panel. In the inner top panel (that also have default style), I've got...
by Muetdhiver
Tue Jan 10, 2012 8:15 am
Forum: C++ Development
Topic: Horizontal scrollbar with a grid in wx2.9 ?
Replies: 4
Views: 1168

Re: Horizontal scrollbar with a grid in wx2.9 ?

Hi !

Thanks, doing this (SetMinSize) works well.
That is just sad that I have to set the wxGrid size myself and that it is not computed automatically.
Doublemax, you're right, this change in wx2.9 is not really good !!

Again thanks for the help.

Bye.
by Muetdhiver
Mon Jan 09, 2012 9:14 am
Forum: C++ Development
Topic: Horizontal scrollbar with a grid in wx2.9 ?
Replies: 4
Views: 1168

Re: Horizontal scrollbar with a grid in wx2.9 ?

Hi, thanks ! This means that I have to set the size of the wxGrid explicitly to the width I want ? I already tried MyGrid::SetVirtualSize( 200, 200) but nothing happens, the grid stay in big. I also tried to SetVirtualSize to the parent container of the grid ==> the Panel "Topping" that is in the no...
by Muetdhiver
Sun Jan 08, 2012 10:40 pm
Forum: C++ Development
Topic: Horizontal scrollbar with a grid in wx2.9 ?
Replies: 4
Views: 1168

Horizontal scrollbar with a grid in wx2.9 ?

Hi all, again another issue related to wx2.9, that was working in wx2.8... I've made a scrabble game, as you can see in the following picture, the grid is on left, and the info panel with a score grid is on the right. Those panels are in sizers with a GROW attribute and the proportion are 10 for the...