Search found 44 matches

by jellyfish
Wed Feb 17, 2010 1:23 pm
Forum: Component Writing
Topic: wxScrolledWindow, OnPaint problem
Replies: 1
Views: 1540

wxScrolledWindow, OnPaint problem

Hello, I have got a problem with ScrolledWindows. I want to display a rendered statistic on a ScrolledWindow. The problem is, that when scrolling the statistics are moving correctly but are flickering. I've tried to avoid it by doublebuffering but it does not work. Freeze and Thaw, too. Can someboy ...
by jellyfish
Tue Feb 16, 2010 2:47 pm
Forum: C++ Development
Topic: Image on wxGrid label?
Replies: 4
Views: 1027

Found it, my search function went funny...

Thanks again, then. :-)
by jellyfish
Tue Feb 16, 2010 2:02 pm
Forum: C++ Development
Topic: Image on wxGrid label?
Replies: 4
Views: 1027

Hi, sorry it seems I thought too early that this was solved: I only found this file: /////////////////////////////////////////////////////////////////////////// // Name: src/generic/grid.cpp // Purpose: wxGrid and related classes // Author: Michael Bedward (based on code by Julian Smart, Robin Dunn)...
by jellyfish
Tue Feb 16, 2010 10:32 am
Forum: C++ Development
Topic: Image on wxGrid label?
Replies: 4
Views: 1027

Image on wxGrid label?

Hi!

I want to display a small Icon next to the Text on a wxGrid label.

I've found BmpCellRenderer here in the forum, derived from wxGridCellRenderer. Is there anything like "wxGridLabelRenderer" or do you have another idea?

Kind regards,
jellyfish
by jellyfish
Thu Feb 11, 2010 11:43 am
Forum: Compiler / Linking / IDE Related
Topic: using wxChart problem
Replies: 0
Views: 616

using wxChart problem

Hallo, compiling and so on works nice with wxChart. But using wxChart in a project leads to the following errors: It's a german IDE ("Nicht aufgelöstes symbol" means not found symbol, "ist bereits definiert" means is already defined). wxchart.lib(bar3dchartpoints.obj) : error LNK2005: "public: class...
by jellyfish
Wed Feb 10, 2010 10:58 am
Forum: C++ Development
Topic: wxTimer not working
Replies: 7
Views: 1669

Hi! I do have exactely the same problem, has anybody found a solution in the meantime? Regards, jellyfish Edit: Just found it! In my case, the timer was re-started all the time, as it was depending on a call by another timer (via 5 or 6 functions, so it wasn't that obvious!) I don't know if that's a...
by jellyfish
Tue Feb 09, 2010 4:36 pm
Forum: C++ Development
Topic: wxBoxSizer Alignement question
Replies: 2
Views: 586

:D

That was easy! Thank you very much!
by jellyfish
Tue Feb 09, 2010 4:11 pm
Forum: C++ Development
Topic: wxBoxSizer Alignement question
Replies: 2
Views: 586

wxBoxSizer Alignement question

Hi! As you have convinced me to use sizers now, I have a tiny question! I want this little "close" Button to go into the right bottom corner: http://www4.pic-upload.de/thumb/09.02.10/xql6ia5yrjjo.gif That's what I did so far: wxBoxSizer * MyVESizer = new wxBoxSizer(wxVERTICAL); MyVESizer->Add(new wx...
by jellyfish
Thu Feb 04, 2010 11:39 am
Forum: C++ Development
Topic: wxAnimationCtrl doesn't show up?
Replies: 2
Views: 716

Thank you ever so much!
by jellyfish
Thu Feb 04, 2010 11:14 am
Forum: C++ Development
Topic: wxAnimationCtrl doesn't show up?
Replies: 2
Views: 716

wxAnimationCtrl doesn't show up?

Hi! Please forgive me for asking a question almost daily, but I really didn't find my problem anywhere in this forum or via Google... I try to display an animation like this: size_t dtaSize = sizeof(loading) / sizeof(char*); wxMemoryInputStream inputStream(loading, dtaSize); wxAnimation LoadGif; Loa...
by jellyfish
Thu Feb 04, 2010 8:45 am
Forum: C++ Development
Topic: Center picture on wxBitmapButton
Replies: 2
Views: 775

Ok, thank you!

Resizing it wasn't really an option (I didn't want the picture to stretch all over the button for aesthetic reasons ^^), so I just changed the picture using opacity to center it.

Thank you anyway for your support!
by jellyfish
Wed Feb 03, 2010 5:59 pm
Forum: C++ Development
Topic: Center picture on wxBitmapButton
Replies: 2
Views: 775

Center picture on wxBitmapButton

Hi!

Say I have a 16x16 picture on a 25x25 BitmapButton.
Is there any way to center the picture in the middle of the button?

The default setting is that its clinging to the upper left corner.

Regards,
jellyfish
by jellyfish
Wed Feb 03, 2010 3:56 pm
Forum: C++ Development
Topic: wxFileExist doesn't find file/difference between 2 wxStrings
Replies: 11
Views: 1584

Okay... :oops: Now, this is really embarrassing... it actually was a different string, as I had cropped part of it one char too short from a longer string, then added the file extension... and then I just didn't see the difference. (And not also me, but other people working with me too) Thank you ve...
by jellyfish
Thu Jan 28, 2010 11:54 am
Forum: C++ Development
Topic: wxTimer - change interval?
Replies: 4
Views: 1177

So, I did misinterpret the documentary... it is not the case that Start() creates kind of new timer that interferes with the one before?

Ok, then I'll start the timer again, thanks!
by jellyfish
Thu Jan 28, 2010 11:16 am
Forum: C++ Development
Topic: wxTimer - change interval?
Replies: 4
Views: 1177

Thanks for your answer! But I guess it's not very clever to call start() in the OnTimer event, as the documentary says: (Re)starts the timer. If milliseconds parameter is -1 (value by default), the previous value is used. Returns false if the timer could not be started, true otherwise (in MS Windows...