Search found 35 matches

by msdobrescu
Thu Dec 31, 2009 6:05 am
Forum: C++ Development
Topic: How to make buttons visible at runtime
Replies: 2
Views: 1176

DavidHart wrote:Hi,

That sort of thing can usually be cured by doing:
pSizer->Layout();

Regards,

David
That worked indeed, thanks!
by msdobrescu
Wed Dec 30, 2009 10:40 pm
Forum: C++ Development
Topic: How to make buttons visible at runtime
Replies: 2
Views: 1176

How to make buttons visible at runtime

Hello, I have a flex grid sizer in a panel on a frame. It contains a gauge and 2 buttons. The gauge expands occupying the available space left. The order of the controls is gauge, button, button. I have them invisible at the frame's opening. I make them visible using a menu at run-time. The gauge is...
by msdobrescu
Tue Aug 11, 2009 11:57 am
Forum: C++ Development
Topic: wFrame size
Replies: 3
Views: 1320

Thank you, it worked. Good lesson: look into parents' documentation! :D
by msdobrescu
Tue Aug 11, 2009 10:46 am
Forum: C++ Development
Topic: wFrame size
Replies: 3
Views: 1320

wFrame size

Hello,

I have an wxApp based on wxFrame.
How could I set the size of the wxFrame programatically (from a menu for example)?

Thanks,
Mike.
by msdobrescu
Tue Aug 11, 2009 10:38 am
Forum: General Development
Topic: What flow of programming and tools do you use?
Replies: 41
Views: 74990

Code::Blocks with wxSmith, gcc/MinGW & MSYS.
by msdobrescu
Fri Jul 18, 2008 5:32 am
Forum: Compiler / Linking / IDE Related
Topic: build wxWidgets without version in name
Replies: 4
Views: 1353

I use the standard configure as specified in the documentation.
by msdobrescu
Thu Jul 17, 2008 8:52 am
Forum: General Development
Topic: wxTimer Start/Stop/Start sequence
Replies: 5
Views: 2022

Thanks,

The logic of using that timer must be wrong, but that's in several parts of code...
by msdobrescu
Thu Jul 17, 2008 5:48 am
Forum: General Development
Topic: wxTimer Start/Stop/Start sequence
Replies: 5
Views: 2022

Hi,

The code is too complex to post it.
I will try to find the issue myself.
It must be my bug.

I just wanted to know, at least, if there is anybody facing this situation and why (if possible).
by msdobrescu
Thu Jul 17, 2008 3:34 am
Forum: Compiler / Linking / IDE Related
Topic: build wxWidgets without version in name
Replies: 4
Views: 1353

Because it is much easier to maintain my projects when a new version is released.

I know it was possible in the past.
by msdobrescu
Wed Jul 16, 2008 1:56 pm
Forum: Compiler / Linking / IDE Related
Topic: build wxWidgets without version in name
Replies: 4
Views: 1353

build wxWidgets without version in name

Hello,

I wish to build wxWidgets with msys/mingw, shared and not monolithic. How do I prevent appending to the name of the resulting dlls and libs the version (i.e. -2.8)? Is there a configure option for that?

Thanks,
Mike
by msdobrescu
Mon May 26, 2008 7:27 am
Forum: General Development
Topic: wxTimer Start/Stop/Start sequence
Replies: 5
Views: 2022

wxTimer Start/Stop/Start sequence

Hello, I need a timer to do some operations. It initializes well, starts successfully, triggers the 'OnTimer' event. Here, I use Stop (to avoid it being triggered during its task), then I try to re-start. At this point the application crashes with illegal operation. What is wrong? I use Code::Blocks...
by msdobrescu
Sun Apr 13, 2008 5:10 pm
Forum: Open Discussion
Topic: XML strangeness
Replies: 6
Views: 6424

Since there is no difference between having an empty text node and not having it at all...
by msdobrescu
Sat Apr 12, 2008 7:02 pm
Forum: Open Discussion
Topic: XML strangeness
Replies: 6
Views: 6424

Yes,

But why does it save <node></node> first, and next time <node/>?
Why doesn't it save <node>""</node> as other implementations?
by msdobrescu
Sat Apr 12, 2008 9:57 am
Forum: Open Discussion
Topic: XML strangeness
Replies: 6
Views: 6424

XML strangeness

Hello, First of all, I am a newbie to XML and I might do something wrong.. I have tried to use XML as config file. Then I faced the following issue: Assume I have a structure like this: <?xml version="1.0" encoding="utf-8"?> <RootNode> <Node2></Node2> <Node1>node one text</Node1>...
by msdobrescu
Tue Feb 12, 2008 1:42 pm
Forum: C++ Development
Topic: wxEvent derived event
Replies: 11
Views: 5544

I mean: why DECLARE_EXPORTED_EVENT_TYPE and not DECLARE_EVENT_TYPE? Btw, WXDLLIMPEXP_CUSTOM_EVENT is defined to nothing, so DECLARE_EXPORTED_EVENT_TYPE(, wxEVT_COMMAND_CUSTOM_EVENT, 52000) is the same thing. I need to know if there's some build option I set wrong that makes it need DECLARE_EXPORTED_...