Description:
Discussions related to wxWindows framework.
|
|
|
xrc subclass question
|
| |
Hi I have this xrc object working cpp: class MyCaption : public wxStaticText {}; xrc: <object class="wxStaticText" name="caption" subclass="MyCaption"> </object> But, if I change the base class to wxControl, xrc fails to instantiate the class. cpp: class MyCaption : public wxControl {}; xrc: <object class="wxControl" name="caption" subclass="MyCaption">... more »
|
|
redrawing client area
|
| |
Hi. I mathematicaly drew a piano keyboard in OnPaint event. I want it to redraw on resizing window but when I call the same algorithm on EVT_SIZE within the OnSize function, nothing happens. Can you please explain me how to properly handle resizing of a window ?. Thanks Haris
|
|
How to get coordinates of item in wxTreeCtrl?
|
| |
Hello. I am able to get item placed on certain coordinates. But I need reverse function to correctly show pop menu for wxTreeCtrl item. I want to show it after right-click or after Win-Menu keypress. For mouse there is no problem, but when I use keyboard, I can only guess, where the coordinates of an item are.... more »
|
|
French Spanking Art: Video Spanking Belt
|
| |
============================== ============================== ============= ========= I spanked my young sister (video) ========= VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV VVVVVVVVVVVVVVVVVVVVVVVVVVVVVV VVVVVVVVVVVV ========= ENTER HERE: ========= ========= [link]... more »
|
|
wxPostEvent and wxRichTextCtrl problem
|
| |
I have incoming asynchronous events that are posted using wxPostEvent (this, myEvent). In onMyEvent I am writing to a wxRichTextCtrl. Occasionally the data written to wxRichTextCtrl is *interleaved* e.g. onMyEvent writes "hello how are you?" to the wxRichTextCtrl onMyEvent writes "yeah I'm ok" to the wxRichTextCtrl... more »
|
|
wxVListBox with “dynamic” data
|
| |
ASked on stackoverflow but nobody is biting. I have a continuous stream of data that I want to place into a container. This container will either be of fixed size or dynamically constrained to a certain size at runtime. The latter may be preferable. When the container is full, the oldest data will be removed.... more »
|
|
wxNotebook::SetSelection deprecated?
|
| |
I need to programmatically change the displayed notebook page in my application. In the online notes for wxNotebook, it says that SetSelection() is deprecated, and to use ChangeSelection instead. But it also says that SetSelection generates a page changing event, and that ChangeSelection does not. I'd rather not put together and post my own page-changing event.... more »
|
|
Event Diagnostics
|
| |
Does anyone know of a simple tool or method for getting diagnostics about wxWidgets events? I'm trying to improve the performance of a large wxWidgets app that processes thousands (maybe millions?) of events per second during certain tasks. It would be nice to be able to get a log on which events are being handled and when during those... more »
|
|
wxDev-C++ doesn't accept unicode
|
| |
Hello: I'm newbie using wxDev-C++, I tried just a small example and noticed that editor doesn't accept unicode strings. is this normal or is there some tricks? thanks Gabriel
|
|
wxBitmap scaling
|
| |
... >> // >> // use factor to determine blit parameters >> // >> wxMemoryDC temp_dc; >> temp_dc.SelectObject(mBitmap); >> dc.SetUserScale(mHFactor, mVFactor); >> > Note that the native scaling on Windows is pretty bad and will often result in a streaky-looking image with weird colours... more »
|
|
|