Search found 2240 matches

by evstevemd
Wed Jul 03, 2019 10:57 am
Forum: C++ Development
Topic: Question on wxPGProperty
Replies: 1
Views: 70

Re: Question on wxPGProperty

So The answer is set your visible Name into Label and Special ID in Name properties of wxPGProperty and you are good to go!
by evstevemd
Wed Jul 03, 2019 9:00 am
Forum: C++ Development
Topic: Custom Event Isn't Being Caught
Replies: 19
Views: 337

Re: Custom Event Isn't Being Caught

Deluge wrote:
Wed Jul 03, 2019 8:54 am
Thank you for that information. If that is the case, why haven't they deprecated Connect yet?
That one I cannot answer, but my opinion is Bind is as of now is just better alternative to connect. You can ask that in wx-user list where core developers can answer.
by evstevemd
Wed Jul 03, 2019 8:52 am
Forum: C++ Development
Topic: Custom Event Isn't Being Caught
Replies: 19
Views: 337

Re: Custom Event Isn't Being Caught

Your code would be something like

Code: Select all

Bind(EVT_SOUND_FINISH, &MainWindow::OnSoundFinish, this);
and if you have specific ID

Code: Select all

Bind(EVT_SOUND_FINISH, &MainWindow::OnSoundFinish, this, MY_ID_HERE);
Binding to specific object

Code: Select all

object->Bind(EVT_SOUND_FINISH, &MainWindow::OnSoundFinish, this);
by evstevemd
Wed Jul 03, 2019 8:50 am
Forum: C++ Development
Topic: Custom Event Isn't Being Caught
Replies: 19
Views: 337

Re: Custom Event Isn't Being Caught

Not answering the question, but was wondering why don't you use Bind! I haven't studied the difference between Bind & Connect . Is one preferred for certain situations over the other? All I know is that "Bind" has something to do with "dynamically" connecting the event. --- Edit --- Oh, I guess the...
by evstevemd
Wed Jul 03, 2019 7:54 am
Forum: C++ Development
Topic: Custom Event Isn't Being Caught
Replies: 19
Views: 337

Re: Custom Event Isn't Being Caught

Not answering the question, but was wondering why don't you use Bind!
by evstevemd
Wed Jul 03, 2019 6:30 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot Compile wxWidgets with MacOSx SDK 10.14
Replies: 16
Views: 393

Re: Cannot Compile wxWidgets with MacOSx SDK 10.14

BobsTheDude wrote:
Wed Jul 03, 2019 6:12 am
Sure, give me the configuration to use.

Code: Select all

mkdir wxDirectory/build-wx

Code: Select all

cd wxDirectory/build-wx

Code: Select all

cmake -DwxBUILD_SAMPLES=ALL VERBOSE=1 ..
Then

Code: Select all

make -j4
Remember to do

Code: Select all

git pull --rebase
to update to the latest commit
by evstevemd
Wed Jul 03, 2019 6:29 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot Compile wxWidgets with MacOSx SDK 10.14
Replies: 16
Views: 393

Re: Cannot Compile wxWidgets with MacOSx SDK 10.14

Strange thing is when I use configure then make it works fine. But when I run cmake then make I get those bunch of errors!
by evstevemd
Wed Jul 03, 2019 6:05 am
Forum: C++ Development
Topic: Monospace font in TextCtrl?
Replies: 15
Views: 236

Re: Monospace font in TextCtrl?

Hi, So now that I've switched from TextCtrl to StyledTextCtrl, assigning a new font doesn't work like before with a plain TextCtrl: stextbox = new wxStyledTextCtrl(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_RICH); wxFont font = wxFont(wxSize(16, 16), wxFontFamily::wxFONT...
by evstevemd
Wed Jul 03, 2019 5:43 am
Forum: C++ Development
Topic: wxEVT_LEFT_DOWN on menuBar
Replies: 8
Views: 222

Re: wxEVT_LEFT_DOWN on menuBar

what do you want to accomplish?
by evstevemd
Wed Jul 03, 2019 5:41 am
Forum: Compiler / Linking / IDE Related
Topic: Cannot Compile wxWidgets with MacOSx SDK 10.14
Replies: 16
Views: 393

Re: Cannot Compile wxWidgets with MacOSx SDK 10.14

Thank you for testing. I will test with configure and fix the errors. Can you help me test CMake also and see what error you actually get?
by evstevemd
Tue Jul 02, 2019 7:02 pm
Forum: C++ Development
Topic: Question on wxPGProperty
Replies: 1
Views: 70

Question on wxPGProperty

I'm writing a program that makes use of wxPropertyGrid and will be adding few wxPGProperty. Now I have trouble adding special ID to wxPGProperty during append. Each property have ID, Name and Value. Now I know that I can use the Name as ID but that is hard as my ID is not is a long string that is no...
by evstevemd
Tue Jul 02, 2019 6:55 pm
Forum: Compiler / Linking / IDE Related
Topic: Cannot Compile wxWidgets with MacOSx SDK 10.14
Replies: 16
Views: 393

Re: Cannot Compile wxWidgets with MacOSx SDK 10.14

1. What version of OSX are you actually running High Sierra 2. Run gcc --version post output? gcc --version Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 10.0.0 (clang-1000.11.45.5) Target: x86_64-apple-darw...
by evstevemd
Mon Jul 01, 2019 4:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Cannot Compile wxWidgets with MacOSx SDK 10.14
Replies: 16
Views: 393

Re: Cannot Compile wxWidgets with MacOSx SDK 10.14

Hi, Is it inside the file you added? I think there shuold be some kind of wx macro to check for OSX minimal version... Thank you. No. It seem like some configuration or incompatibility somewhere. The error is coming from OSX SDK as you can see in one of errors /Applications/Xcode.app/Contents/Devel...