Search found 203 matches
- Mon Feb 13, 2006 5:14 pm
- Forum: C++ Development
- Topic: wxVScrolledWindow resize problem?
- Replies: 4
- Views: 1739
- Mon Feb 13, 2006 8:31 am
- Forum: C++ Development
- Topic: Auto Scroll
- Replies: 4
- Views: 1058
wxVScrolledWindow actually has problems with children layed out using a sizer. I've address these problems in a patch but it hasn't been applied yet. You should be able to query the actual windows about their size. Something like parent_window->GetChildren(), parent_window->GetSizer->GetItem() (not ...
- Fri Feb 10, 2006 6:01 pm
- Forum: C++ Development
- Topic: Auto Scroll
- Replies: 4
- Views: 1058
I'm not quite sure what you mean by "I want the window to scroll automatically to adjust all the panels. Currently the bottom panels are not visible." Could you expand on that? If you mean that the wxVScrolledWindow isn't using the correct sizes, make sure your overload of OnGetLineHeight() returns ...
- Wed Feb 08, 2006 10:37 pm
- Forum: C++ Development
- Topic: Maybe it's a strange question
- Replies: 14
- Views: 3071
Use wxEvtHandler::Connect to connect dynamically created controls to event handlers (wxChoice and all windows/controls derive from wxEvtHandler).
- Tue Feb 07, 2006 6:11 pm
- Forum: C++ Development
- Topic: PNG:s compiled into the binaries as resource possible?
- Replies: 18
- Views: 7488
Actually no. I originally wrote this over a year ago (long before that appeared in the wiki). It is, in fact, based on Bart Trzynadlowski's bin2c program (who--I'm sure--wasn't the first person to write a binary-to-C converter) but adapted for use in a wxWidgets app (by me). The orginal idea to conv...
- Fri Feb 03, 2006 9:05 pm
- Forum: C++ Development
- Topic: Portable Network Graphics in menu items
- Replies: 9
- Views: 1687
- Fri Jan 27, 2006 5:45 pm
- Forum: C++ Development
- Topic: wximage->rescale->print => poor quality
- Replies: 3
- Views: 1226
wxImage's scaling functions are very simplistic. When shrinking, it just leaves a few rows/columns of pixels out. Growing just duplicates. ImageMagick would be a very good choice. It features a large variety of image resizing algorithms and I'm sure it produces good results. I haven't done it but I'...
- Thu Jan 26, 2006 12:47 am
- Forum: C++ Development
- Topic: wxTaskBarIcon, window|frame-less application
- Replies: 5
- Views: 1382
- Thu Jan 26, 2006 12:21 am
- Forum: C++ Development
- Topic: "0" + '.' == control name ?
- Replies: 6
- Views: 1553
Yeah, it's a pointer thing. I suspect it's taking the pointer location of the string literal "0", adding the numerical value of '.' which makes the pointer point to some other string literal (since, unless I'm mistaken, they are stored in the same approximate location in executable files and end up ...
- Wed Jan 04, 2006 3:33 am
- Forum: C++ Development
- Topic: "Pure virtual function call" from wxSocketClient::
- Replies: 19
- Views: 3031
Although I don't have an answer for your question, sethjackson is correct. Destroy will free the memory. The extra stuff Destroy does is primarily delaying the actual deletion of the object until the object isn't referred to in pending messages. You don't want to be getting repaint events on a dialo...
- Sun Jan 01, 2006 2:19 am
- Forum: C++ Development
- Topic: Support of the GIMP RGBA C-Source image dump file
- Replies: 7
- Views: 2727
- Fri Dec 30, 2005 8:58 pm
- Forum: C++ Development
- Topic: Support of the GIMP RGBA C-Source image dump file
- Replies: 7
- Views: 2727
I use this method in my app (probably 30 images or so). Works great. XRC is another option. Another advantage of this over using the GIMP C-source option (ignoring whether it is even possible to use GIMP C-source) is you still have compressed data. Uncompressed image data can get unwieldy very quick...
- Thu Dec 29, 2005 10:03 pm
- Forum: C++ Development
- Topic: The problem about compiling?
- Replies: 1
- Views: 601
- Wed Dec 21, 2005 5:22 am
- Forum: C++ Development
- Topic: wxGrid problem expected class name before '{'
- Replies: 2
- Views: 665
- Thu Nov 24, 2005 8:41 pm
- Forum: C++ Development
- Topic: Bug in wxDateTime?
- Replies: 9
- Views: 2240