Search found 126 matches
- Thu Jul 09, 2015 2:01 pm
- Forum: C++ Development
- Topic: wxDataViewCtrl AppendBitmapColumn does not show bitmap
- Replies: 1
- Views: 1081
wxDataViewCtrl AppendBitmapColumn does not show bitmap
I tried to add an item with a bitmap to a data view but did not get it to work: // Add the column. m_ctrl->AppendBitmapColumn("Image", 1, wxDATAVIEW_CELL_INERT, -1, wxALIGN_CENTER, wxDATAVIEW_COL_RESIZABLE|wxDATAVIEW_COL_REORDERABLE); // Create the bitmap. wxImage* applesImage = new wxImag...
- Mon May 04, 2009 7:17 am
- Forum: Compiler / Linking / IDE Related
- Topic: Cross compiling 64 to 32 bits
- Replies: 1
- Views: 740
With other packages, I have run the configure tool with the following paramters.
Don't know if it works for wxWidgets too.
Code: Select all
# ./configure CPPFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32
- Thu Apr 23, 2009 6:48 am
- Forum: Compiler / Linking / IDE Related
- Topic: WinXP/MinGW compile errors "wx/defs.h: No such file....
- Replies: 5
- Views: 2406
- Wed Apr 22, 2009 7:29 am
- Forum: Compiler / Linking / IDE Related
- Topic: WinXP/MinGW compile errors "wx/defs.h: No such file....
- Replies: 5
- Views: 2406
Add a search path to gcc using the -I option. gcc -I/path/to/include/files demo.cpp -o demo Or use wx-config to determine this path for you. It is available for Linux; don't know about WinXP/MinGW. gcc `wx-config --cxxflags` -c demo.cpp wx-config can determine other compiler options, such as where t...
- Mon Apr 20, 2009 8:03 am
- Forum: C++ Development
- Topic: wxMutex wait TimeOut
- Replies: 2
- Views: 1317
- Tue Apr 14, 2009 6:35 am
- Forum: Compiler / Linking / IDE Related
- Topic: wxStrdupA?
- Replies: 1
- Views: 904
- Wed Apr 08, 2009 7:52 am
- Forum: C++ Development
- Topic: Difference between max size, best size and min size ?
- Replies: 3
- Views: 16524
- Mon Apr 06, 2009 7:13 am
- Forum: C++ Development
- Topic: Why are my mutexes leaking memory?
- Replies: 1
- Views: 1358
- Thu Apr 02, 2009 7:04 am
- Forum: C++ Development
- Topic: Add transparency to images on wxBitmapButton
- Replies: 7
- Views: 2742
I had some other problems with wxBitmapButton as well which were solved when I first create a wxImage, then a wxBitmap from this image. wxImage image(imagePath); wxBitmap bitmap; if (image.IsOk()) bitmap = wxBitmap(image); At least transparent PNG images work this way (I haven't tried PNG images wit...
- Fri Mar 06, 2009 7:35 am
- Forum: C++ Development
- Topic: Why cant I access my thread?
- Replies: 7
- Views: 2334
- Mon Mar 02, 2009 9:07 am
- Forum: C++ Development
- Topic: How to inform brother control to repaint itself?
- Replies: 3
- Views: 1594
I am not familiar with the document/view framework of wxWidgets. I am not exactly sure what you want to do. However paint events should be handled by the window that receives the paint event. Paint events are generated by the OS, whenever the OS decides the window needs repainting. E.g. when the win...
- Fri Feb 27, 2009 9:11 am
- Forum: Component Writing
- Topic: wxCommandLineHistory
- Replies: 2
- Views: 2021
- Fri Feb 27, 2009 9:01 am
- Forum: C++ Development
- Topic: How to inform brother control to repaint itself?
- Replies: 3
- Views: 1594
- Wed Feb 25, 2009 8:24 am
- Forum: C++ Development
- Topic: wxSocket does not disconnect on windows sleep
- Replies: 1
- Views: 1294
Why do you expect a disconnect message? When a client machine goes into sleep mode, the (Windows) OS does not automaticly close open connections. You can use a time-out mechanism to determine a client is no longer live. If you haven't received a message from the client for some period of time, the s...
- Wed Feb 25, 2009 7:38 am
- Forum: C++ Development
- Topic: Invoking dialog from an multithreaded application
- Replies: 2
- Views: 1434
You can't. All GUI calls must be done in the main thread. That includes creating windows. If a thread, other than the main thread, needs to display a dialog, you can send an event from the thread to the main thread. The main thread can then create and show the dialog. If the thread needs to wait unt...