Search found 704 matches

by Manolo
Mon May 07, 2012 3:22 pm
Forum: C++ Development
Topic: making a program scriptable
Replies: 1
Views: 580

Re: making a program scriptable

Hi Even wxScript was released some years ago, why do you think it is outdated? Have you tested it? I've never thougt about a script that sends messages to the main app. But it doesn't seem so difficult. I mean: The script create a control, which receives messages. The script defines how this control...
by Manolo
Mon May 07, 2012 3:11 pm
Forum: C++ Development
Topic: some explanation over code snippet
Replies: 1
Views: 378

Re: some explanation over code snippet

Hi Google search for "WxFrameInternals" lead to "H3D API" at h3d.org They use several "internal definitions": /******************Internal definitions**************/ namespace WxFrameInternals { wxString wx_as_graphics = wxT("As graphics"); wxString wx_front_and_back = wxT("Front and back"); wxString...
by Manolo
Sat May 05, 2012 5:43 pm
Forum: C++ Development
Topic: operator[]
Replies: 12
Views: 2997

Re: operator[]

Hi
p_data stores 'ints', but BIN::operator[] returns a RAM address, not an int address.
bin[ keyNo ] is then a pointer to RAM type, not a int. The compiler doesn't know how to access an ints array, but a RAMs one.
by Manolo
Sat May 05, 2012 5:13 pm
Forum: Platform Related Issues
Topic: mingwm10.dll crash
Replies: 13
Views: 4288

Re: mingwm10.dll crash

MinGW download: this "mingw-get" will do it all: http://sourceforge.net/projects/mingw/files/latest/download CodeBlocks last version: http://forums.codeblocks.org/index.php/board,20.0.html To compile wxWidgets, I just open the MSW command window, change dir to something like "c:\wx293\build\msw" and...
by Manolo
Sat May 05, 2012 4:59 pm
Forum: Platform Related Issues
Topic: wxMSW 2.8.12, wxCondition signaled, but not woken up
Replies: 7
Views: 2723

Re: wxMSW 2.8.12, wxCondition signaled, but not woken up

Hi First: Please, enclose the code you post between " " tags. It makes the code much more readable. Second: I see just one , not two, thread "CIOThread" with two functions: the needed "Entry()" and the other "GetNextReadBuffer(..)" Third: Be sure, really sure, each wxCondition::Wait() has its paired...
by Manolo
Fri May 04, 2012 11:22 am
Forum: C++ Development
Topic: wxTextCtrl constructor crashes
Replies: 11
Views: 1912

Re: wxTextCtrl constructor crashes

Mmmm... I see is using '-O3'. I remember once I reduced this optimization level to '-O2' and some issues went away. I'm curious: I haven't seen before those "-2.8" tags in the filenames. If it is your IDE adding them, check the rest of things it does automatically, perhaps some are quite old. I also...
by Manolo
Fri May 04, 2012 10:57 am
Forum: Platform Related Issues
Topic: mingwm10.dll crash
Replies: 13
Views: 4288

Re: mingwm10.dll crash

Hi More than a year ago, MinGW team managed to make mingwm10.dll not needed. Perhaps you should update your compiler and try again. It is also a good idea to make sure wxWidgets and your app are both compilated the same way. It seems to me that is wx libraries that are asking for mingwm10.dll, not y...
by Manolo
Thu May 03, 2012 11:38 am
Forum: Compiler / Linking / IDE Related
Topic: Test file not running completely
Replies: 4
Views: 1037

Re: Test file not running completely

After reading your out-of-site post (this is compiler/linker/IDE related!!!)...
After reading all the explanations you write...
After looking at my magic cristal ball...
No, no answer yet. Keep looking at it...
by Manolo
Thu May 03, 2012 11:04 am
Forum: C++ Development
Topic: wxTextCtrl constructor crashes
Replies: 11
Views: 1912

Re: wxTextCtrl constructor crashes

Hi, YanJing_2012 After several post, still it is not shown the message error when your app crashes. PB told your code (with a bit of modification) runs in his PC. You say wxTextCtrl sample runs in your PC. So, I can deduce the problem is not your code. Sometimes I have had weird problems, all of the...
by Manolo
Wed May 02, 2012 11:59 am
Forum: C++ Development
Topic: why if i change the height the width also changes
Replies: 8
Views: 2273

Re: why if i change the height the width also changes

The docs say it clearly:
http://docs.wxwidgets.org/trunk/classwx_sizer.html
wxSHAPED The item will be expanded as much as possible while also maintaining its aspect ratio.
by Manolo
Wed May 02, 2012 11:53 am
Forum: C++ Development
Topic: Alignment Issue
Replies: 7
Views: 1200

Re: Alignment Issue

Hi mainSizer->Add(bottomSizer, 0, wxALIGN_RIGHT | wxALIGN_BOTTOM); This will make bottomSizer not expandable (because that '0') and will set it right and bottom of mainSizer handled space. If you use many times this proportion and align flags, you can gather them in a wxSizerFlags object and pass it...
by Manolo
Wed May 02, 2012 11:25 am
Forum: C++ Development
Topic: wxTextEntryDialog constructor difficulty
Replies: 4
Views: 2368

Re: wxTextEntryDialog constructor difficulty

Hi I think you need more C++ knowledge. Anyhow, everyone has been once new to it... 1) Declare a var of type wxTextEntryDialog. This var can be a pointer, but usually it is not needed for dialogs. 2) Make an instance of it, which means the constructor is called. wxTextEntryDialog will make proper us...
by Manolo
Tue May 01, 2012 3:12 pm
Forum: Announcements and Discoveries
Topic: ANN: FormatValidator 2.0 released
Replies: 0
Views: 3330

ANN: FormatValidator 2.0 released

Hi all I'm proud to announce the release of wxFormatValidator 2.0 With it, formatting a number and validating it, is featured as never before. Formatting: - It works only with wxString, allowing a very very large number. No CPU limits. - Format style can be from very simple to very complex, allowing...