Hi, ALL,
Is there a wxWindows control like this:
Motif Option Menu Widget Or maybe somebody tells me how I could use something like this in my wxWindows program?
I don't want to port it back to Linux?
Thank you in advance.
Is there a wxWindows control like this?
Thank you for reply.
OK, this is my mistake, I should've specify it directly, not indirectly.
If it's not part of wxWindows, I am perfectly fine with doing it on Linux, and using the codeguru code on Windows....
Also, maybe the Motif control already doing this. I am just guessing about that, because I looked at the CodeGuru code....
Thank you.
OK, this is my mistake, I should've specify it directly, not indirectly.
Now, how I will use such control? Should I use one from Motif? Or there is one in wxWindows?I don't want to port it back to Linux?
If it's not part of wxWindows, I am perfectly fine with doing it on Linux, and using the codeguru code on Windows....
Also, maybe the Motif control already doing this. I am just guessing about that, because I looked at the CodeGuru code....
Thank you.
If you want to use a feature of a specific platform not present in wx, you can simply do a:
Depending on how important this speciffic feature is to you, this might be a good solution. My personal opinion is that this is far too much trouble, so I would stick with one single pure wx implementation.
Code: Select all
#ifdef YOUR_PLATFORM
// your platform's code
#elseifdef ANOTHER_PLATFORM
// another platform's code
#else
// general wx implementation
#endif