Search found 27 matches

by Hitnrun
Wed Mar 18, 2009 2:26 pm
Forum: Platform Related Issues
Topic: wx-sdl/win32: hangs at SDL's WIN_FlushMessageQueue
Replies: 1
Views: 852

wx-sdl/win32: hangs at SDL's WIN_FlushMessageQueue

I am trying to integrate wx and SDL, using the wx-sdl tutorial, but the application always hangs at SDL_Init. Debugging into the SDL source code, it always hangs at WIN_FlushMessageQueue: void WIN_FlushMessageQueue() { MSG msg; while ( PeekMessage(&msg, NULL, 0, 0, PM_REMOVE) ) { if ( msg.message ==...
by Hitnrun
Thu Dec 11, 2008 11:38 am
Forum: Announcements and Discoveries
Topic: [ANN] HTMLButcher 1.1 - Advanced HTML slicing application
Replies: 1
Views: 1408

HTMLButcher 1.1.0.14 released. This version features translation support, and BMP, TIFF and XPM output. ---------------------------------- I left the translation support of wx to be done at a later time, thinking it would be a big deal, but it is really very easy to add translation support to a wx a...
by Hitnrun
Wed Nov 12, 2008 1:48 pm
Forum: Compiler / Linking / IDE Related
Topic: Bakefile sample does not work in MSW/2.8.9
Replies: 3
Views: 994

Hi, it works for me (for wxMSW-2.8.8 and bakefile 0.2.5): bkl -fmsvc -D WXTOPDIR=../../ minimal.bkl EDIT: actually bkl is cmd file: python C:\Tools\bakefile-0.2.5\src\bakefile.py %* Hmm I don't seem to have this bkl command, I got the windows package from bakefile.org, is this the one to use? I tri...
by Hitnrun
Tue Nov 11, 2008 9:27 pm
Forum: Compiler / Linking / IDE Related
Topic: Bakefile sample does not work in MSW/2.8.9
Replies: 3
Views: 994

Bakefile sample does not work in MSW/2.8.9

I'm trying to learn bakefile, so I tried generating the sample as stated on the readme (using 0.2.5 on windows): C:\prog\src\wxMSW-2.8.9\build\bakefiles\wxpreset\sample>bakefile -f msvc -I .. minimal.bkl Traceback (most recent call last): File "C:\programas\Bakefile\src\bakefile.py", line 237, in <m...
by Hitnrun
Tue Nov 04, 2008 2:12 pm
Forum: Announcements and Discoveries
Topic: [ANN] HTMLButcher 1.1 - Advanced HTML slicing application
Replies: 1
Views: 1408

[ANN] HTMLButcher 1.1 - Advanced HTML slicing application

HTMLButcher 1.1 http://www.htmlbutcher.com/ http://www.htmlbutcher.com/images/screenshot.png HTMLButcher is an advanced HTML slicing tool. Slice images creating HTML table or tableless layouts, preserving the layout while allowing data and images to be individually changed. Besides common slicing t...
by Hitnrun
Wed Oct 29, 2008 4:34 pm
Forum: C++ Development
Topic: [SOLVED] Exceptions cannot be caught in wxGTK
Replies: 1
Views: 498

SOLVED!

FINALLY! Solved it! This was preventing me to release a linux version of my product. The thing is, in Linux, to correctly handle all exceptions, the wxApp exception methods are no good. You MUST override wxApp::HandleEvent, and catch the exceptions there. void MyApp::HandleEvent(wxEvtHandler *handle...
by Hitnrun
Wed Oct 29, 2008 1:11 pm
Forum: General Forum Issues
Topic: International Forum - Portuguese
Replies: 2
Views: 3543

I am Brazillian and speak portuguese, but I really don't see the point in language-based forums, as I think they split the questions, the more people understands your question the more chance of getting an answer.
by Hitnrun
Fri Oct 24, 2008 1:22 pm
Forum: Announcements and Discoveries
Topic: [ANN] HTMLButcher 1.0 - Advanced HTML slicing application
Replies: 1
Views: 994

I will be doing a special launch promotion for wx-users, use the following coupon code to gain a 50% discount:

HSL-QAST-254
by Hitnrun
Tue Oct 21, 2008 4:43 pm
Forum: C++ Development
Topic: [SOLVED] Exceptions cannot be caught in wxGTK
Replies: 1
Views: 498

[SOLVED] Exceptions cannot be caught in wxGTK

My application runs on Windows and Linux, and error handling is made using exceptions. I've overriden all wxApp events related to exceptions (wx is compiled with exception handling on). void MyApp::OnFatalException() { wxMessageBox(wxT("Fatal error - please restart the application"), wxT("App"), wxO...
by Hitnrun
Tue Oct 21, 2008 4:36 pm
Forum: Announcements and Discoveries
Topic: [ANN] HTMLButcher 1.0 - Advanced HTML slicing application
Replies: 1
Views: 994

[ANN] HTMLButcher 1.0 - Advanced HTML slicing application

HTMLButcher 1.0 http://www.htmlbutcher.com/ http://www.htmlbutcher.com/images/screenshot.png HTMLButcher is an advanced HTML slicing tool. Slice images creating HTML tables, preserving the layout while allowing data and images to be individually changed. Besides common slicing tasks, HTMLButcher fe...
by Hitnrun
Thu Sep 04, 2008 5:28 pm
Forum: Announcements and Discoveries
Topic: MidiLearn 0.4 - learn to play music guitar-hero style
Replies: 0
Views: 991

MidiLearn 0.4 - learn to play music guitar-hero style

http://midilearn.sourceforge.net/ MidiLearn is a program to learn how to play music without needing to know how to read a score. Using common MID or KAR files, one of the tracks is muted and displayed in a custom piano roll view created to be easy and fast to read. Program was created with wxWidget...
by Hitnrun
Fri Feb 08, 2008 9:22 am
Forum: Compiler / Linking / IDE Related
Topic: Harmless Warnings?
Replies: 9
Views: 1580

Add

-fno-strict-aliasing

to your gcc compile flags.
by Hitnrun
Sun Feb 03, 2008 5:54 pm
Forum: Compiler / Linking / IDE Related
Topic: How to compile StyledTextControl contrib?
Replies: 2
Views: 639

# cd contrib/build/stc
# make -f makefile.gcc BUILD=debug MONOLITHIC=1 SHARED=0 UNICODE=1

done!

Change the parameters to match your wxWidgets installation.
by Hitnrun
Thu Jan 31, 2008 6:31 pm
Forum: Platform Related Issues
Topic: Adding wxTextCtrl to wxToolBar problem.
Replies: 1
Views: 584

If I remember correctly, I solved this problem by changing the wxStaticText's IDs to wxID_ANY, and that solved my problem. This is something to do with the static text IDs, I just don't remember exactly if this was the solution.
by Hitnrun
Sun Dec 23, 2007 6:31 pm
Forum: C++ Development
Topic: wxScrolledWindow scroll event
Replies: 14
Views: 2954

Yes you must use connect. Look at my code:

Code: Select all

    for (int i=wxEVT_SCROLLWIN_TOP; i<=wxEVT_SCROLLWIN_THUMBRELEASE; i++) {
        dwindow_->Connect(wxID_ANY, i,
            wxScrollWinEventHandler(MyFrame::OnDWindowWinScroll), NULL, this);
    }