Search found 79 matches

by Troels
Mon May 19, 2014 11:50 am
Forum: C++ Development
Topic: wxBookCtrl without any tabs?
Replies: 5
Views: 1866

Re: wxBookCtrl without any tabs?

by Troels
Wed May 26, 2010 12:16 pm
Forum: C++ Development
Topic: wxScintilla / syntax highlighting
Replies: 2
Views: 890

A good wxStyledTextCtrl starting point is class MinimalEditor, bottommost:
http://svn.wxwidgets.org/viewvc/wx/wxWi ... iew=markup
by Troels
Fri Feb 19, 2010 11:50 am
Forum: C++ Development
Topic: Open dialog shown despite of wxFLP_SAVE style (wxFilePickerC
Replies: 2
Views: 982

Re: Open dialog shown despite of wxFLP_SAVE style (wxFilePic

zeuner wrote:Is there a way to have wxFilePickerCtrl show a "Save" button instead?
I don't know but wxFilePickerButton had the same problem.
Now fixed, http://forums.wxwidgets.org/viewtopic.php?t=17926
Regards
by Troels
Wed Jun 17, 2009 10:23 pm
Forum: The Code Dump
Topic: wxFillSolidRect + wxFloodFillSolid
Replies: 0
Views: 993

wxFillSolidRect + wxFloodFillSolid

It gets to be a nuisance to dabble with brushes when all you want is a solid wxColour. The api for drawing rectangles and especially the api for doing a flood fill are cumbersome and bound to be timewasters to everybody. Taketh away :-) http://trac.wxwidgets.org/ticket/10904 void wxFillSolidRect(wxD...
by Troels
Wed Jun 03, 2009 2:07 pm
Forum: C++ Development
Topic: link statically to MFC
Replies: 13
Views: 2528

Ah. I'm using static linking in release builds only (/MT). All my debug builds are DLL-based, this could be why I never saw your problem. Or, are you sure you use /MTD *everywhere*?
Note: I'm successfully linking statically with both MFC and wxWidgets in release builds (using VC6 VC7 VC8 VC9).
by Troels
Wed Jun 03, 2009 1:22 pm
Forum: C++ Development
Topic: link statically to MFC
Replies: 13
Views: 2528

I see that you're still asking on wxdev.
Actually I posted a solution, follow the link above.
by Troels
Thu May 28, 2009 3:37 pm
Forum: C++ Development
Topic: link statically to MFC
Replies: 13
Views: 2528

This belongs in the wx-user list, not in the wx-dev list:
http://article.gmane.org/gmane.comp.lib ... eral/65750
by Troels
Mon Jan 05, 2009 10:07 pm
Forum: C++ Development
Topic: VB6'er looking for equivalents to MSHflexgrid control
Replies: 8
Views: 1844

Jonas Thomas wrote:I'm assuming there something pre-developed to move data retrieved from a Sql call via wxODBC?
The ODBC library is removed from wxWidgets (2.9+), better pick a different database backend (while using wxWidgets for displaying).
/Troels
by Troels
Thu Oct 02, 2008 8:01 pm
Forum: The Code Dump
Topic: wxQuantize workaround
Replies: 0
Views: 1273

wxQuantize workaround

The docs doesn't mention it, but wxQuantize works well only with photo-like images (jpeg). You may feel tempted to call wxQuantize with simple computer-made images (png,xpm), to obtain the palettes from such images. Unfortunately, this will typically produce - inaccurate palettes, holding slighty ch...
by Troels
Fri Aug 22, 2008 1:55 pm
Forum: C++ Development
Topic: problem with rotated Image preview/printing
Replies: 5
Views: 1376

My problem is the printerDC who's not able to handle transparency. Same problem on Windows. This appears to work: wxImage wxImage_Printable(const wxImage& image) { wxImage printimage = image; if (printimage.HasAlpha()) { printimage.ConvertAlphaToMask(); } if (printimage.HasMask()) { const wxColour ...
by Troels
Mon Jun 30, 2008 9:10 am
Forum: Announcements and Discoveries
Topic: ANN: Music Organizer 2.5.0 is released
Replies: 2
Views: 1477

Re: ANN: Music Organizer 2.5.0 is released

- Looks great!
- Please integrate with wxMusik, your programs combined would become the player to end all players (http://musik.berlios.de)
- On the pc, flac is essential. mp3 is only for small portable devices - in my opinion :)

Greetings
by Troels
Wed Jun 18, 2008 8:58 am
Forum: C++ Development
Topic: So flimflam question in wxListCtrl!
Replies: 2
Views: 949

Re: So flimflam question in wxListCtrl!!!!!!!!!!!!!!!!!!

I'm having all sorts of problems with wxListCtrl on GTK. It appears that wxListCtrl is rather a pain to work with on platforms other than Windows. The long term solution is to wait for wx2.9/3.0 and use the new wxDataViewCtrl control instead.

Regards