Search found 2564 matches

by ONEEYEMAN
Thu Aug 16, 2018 4:10 am
Forum: C++ Development
Topic: Does wxGrid support ReCreateGrid anyway? [SOLVED]
Replies: 8
Views: 66

Re: Does wxGrid support ReCreateGrid anyway? [SOLVED]

Hi,
If its just a different size if the grid - why not use Append{Row,Col} functions?
On top of everything it will be faster than re-creating the whole grid...

Thank you.
by ONEEYEMAN
Wed Aug 15, 2018 3:17 pm
Forum: Platform Related Issues
Topic: How to prevent erasing the background of a custom control on macOS
Replies: 3
Views: 41

Re: How to prevent erasing the background of a custom control on macOS

Hi,
You probably should open a ticket on trac.wxwidgets.org about the transparency.
Modify the minimal sample by adding the appropriate call and see whether it still fails the detection. If it does - open a new ticket and attach the patch to the sample with you changes.

Thank you.
by ONEEYEMAN
Tue Aug 14, 2018 4:31 pm
Forum: C++ Development
Topic: Does wxGrid support ReCreateGrid anyway? [SOLVED]
Replies: 8
Views: 66

Re: Does wxGrid support ReCreateGrid anyway? [SOLVED]

Hi,
When the function will fail? Can we see some code please?
Are you creating the wxGrid in the same function where the data population occur?

Please check the grid sample to see how to make it work.

Thank you.
by ONEEYEMAN
Tue Aug 14, 2018 2:35 pm
Forum: C++ Development
Topic: Does wxGrid support ReCreateGrid anyway? [SOLVED]
Replies: 8
Views: 66

Re: Does wxGrid support ReCreateGrid anyway? [SOLVED]

Hi,
What is an exact scenario that you need for re-creating wxGrid?

Thank you.
by ONEEYEMAN
Fri Aug 10, 2018 9:10 pm
Forum: C++ Development
Topic: What thread type to use?
Replies: 0
Views: 30

What thread type to use?

Hi, In wx there 2 types of threads - joinable and detached. The detached thread deletes itself, while joinable is not and you have to delete it. Now in my program I'm trying to create a detached thread - I figured it would be easier. I also followed the sample code that is available in the wxThread ...
by ONEEYEMAN
Wed Aug 08, 2018 9:59 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile of wxwidgets fails
Replies: 8
Views: 129

Re: Compile of wxwidgets fails

Hi,
Yes, the line is too long sounds very much like it.
You can try to download MSVC Community and compile/run there. It is also free for you. And it is not suffer from this issue.

Thank you.
by ONEEYEMAN
Wed Aug 08, 2018 8:15 pm
Forum: C++ Development
Topic: wxPD_APP_MODAL : is its absence taken into account ?
Replies: 9
Views: 138

Re: wxPD_APP_MODAL : is its absence taken into account ?

Hi,
Take a look here.
Adjust as appropriate.

Thank you.
by ONEEYEMAN
Wed Aug 08, 2018 7:58 pm
Forum: Compiler / Linking / IDE Related
Topic: Creating project for OSX High Sierra / XCode 9?
Replies: 7
Views: 162

Re: Creating project for OSX High Sierra / XCode 9?

Hi,
It is advisable to build wxWidgets from the Terminal, and just link to the library in your code.

Did you try to build the library from the Terminal and got same warnings?

Thank you.
by ONEEYEMAN
Wed Aug 08, 2018 7:30 pm
Forum: Compiler / Linking / IDE Related
Topic: Creating project for OSX High Sierra / XCode 9?
Replies: 7
Views: 162

Re: Creating project for OSX High Sierra / XCode 9?

Hi,
So are you building the library or your own project from Xcode?

Thank you.
by ONEEYEMAN
Wed Aug 08, 2018 6:07 pm
Forum: C++ Development
Topic: wxPD_APP_MODAL : is its absence taken into account ?
Replies: 9
Views: 138

Re: wxPD_APP_MODAL : is its absence taken into account ?

Hi,
Can you try to do

Code: Select all

git log


and see what change might be causing it?
Or try to bisect the tree to find an exact commit?

Thank you.
by ONEEYEMAN
Wed Aug 08, 2018 4:50 pm
Forum: C++ Development
Topic: wxCriticalSection vs wxMutex vs std::mutex
Replies: 5
Views: 73

Re: wxCriticalSection vs wxMutex vs std::mutex

doublemax, According to the MSDN it is a requirement of this specific query - it has to run when no other query is performed. But my question is actually about protection - as I say with the std::mutex I can just leave the classes intact of the wx dependency. But using wx classes I can protect the f...
by ONEEYEMAN
Wed Aug 08, 2018 4:46 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile of wxwidgets fails
Replies: 8
Views: 129

Re: Compile of wxwidgets fails

Hi, So the error from your OP is produced from which command line? Just copy and paste it in your response - this thread might help someone else. Did you also tried to build the debug version of the library? The command is: mingw32-make -f makefile.gcc SHARED=1 UNICODE=1 BUILD=debug Butg generally s...
by ONEEYEMAN
Wed Aug 08, 2018 2:35 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile of wxwidgets fails
Replies: 8
Views: 129

Re: Compile of wxwidgets fails

Hi,
And which command did you use to build the library?

Thank you.
by ONEEYEMAN
Wed Aug 08, 2018 2:33 pm
Forum: C++ Development
Topic: Is UnBind() method safe?
Replies: 1
Views: 30

Is UnBind() method safe?

Hi, What I am trying to do is the following: 1. On some condition in the program I'm doing Bind(). If condition is false Bind() is not executed. The event I'm binding is wxFileSystemWatcher one. 2. Inside some other event handler I want to execute UnBind() method. 2 questions: 1. If the Bind() was n...

Go to advanced search