Search found 149 matches

by Kvaz1r
Tue Jan 21, 2020 7:38 am
Forum: C++ Development
Topic: Events are not processed
Replies: 6
Views: 112

Re: Events are not processed

But it's normal is in't? Selected and focused are independent states.
by Kvaz1r
Sun Jan 19, 2020 8:19 pm
Forum: Compiler / Linking / IDE Related
Topic: MSVC succedded, but not gcc/clang
Replies: 5
Views: 104

Re: MSVC succedded, but not gcc/clang

Ah, right, I overlooked the question, sorry. SO gave such topic - https://stackoverflow.com/questions/2024895/how-should-i-handle-cast-from-void-to-int-loses-precision-when-compiling But I've not sure that it's the right way to get item row because ID used to get window id and not item row. Maybe It...
by Kvaz1r
Sun Jan 19, 2020 7:03 pm
Forum: Compiler / Linking / IDE Related
Topic: MSVC succedded, but not gcc/clang
Replies: 5
Views: 104

Re: MSVC succedded, but not gcc/clang

That's right. GetID returns pointer to void so in C++ you should explicitly cast it to your type. Example as usual you can see in dataview sample.
by Kvaz1r
Sun Jan 19, 2020 6:55 pm
Forum: C++ Development
Topic: How to know if a wxFrame is beeing closed by a user
Replies: 9
Views: 128

Re: How to know if a wxFrame is beeing closed by a user

Method Close according to the documentation just generates wxCloseEvent event so I don't think that it's possible. But for your own application you can disable close button and provide menu item "Quit". In such case you can separate when user press menu item and when was generate wxCloseEvent. Btw, ...
by Kvaz1r
Sun Jan 19, 2020 9:24 am
Forum: Compiler / Linking / IDE Related
Topic: MSVC succedded, but not gcc/clang
Replies: 5
Views: 104

Re: MSVC succedded, but not gcc/clang

And what's written in the compiler error?
by Kvaz1r
Mon Jan 13, 2020 4:46 pm
Forum: C++ Development
Topic: Calculate the space needed
Replies: 4
Views: 125

Re: Calculate the space needed

First of all you should use monospace font and after that just find length of "SELECT " for second line and "FROM " for forth line. Am I understood you correct?
by Kvaz1r
Fri Jan 10, 2020 5:33 pm
Forum: Compiler / Linking / IDE Related
Topic: good and simple to use IDE for wxWidgets based applications?
Replies: 29
Views: 648

Re: good and simple to use IDE for wxWidgets based applications?

Even doing everithing manually is still simpler then using that external sh*t. Well, it seems here yet another person who not understand what does mean word simple is. Written code manually couldn't been simplier than just pressing buttons in application until what do you see will be good enough. A...
by Kvaz1r
Fri Jan 10, 2020 3:48 pm
Forum: Compiler / Linking / IDE Related
Topic: good and simple to use IDE for wxWidgets based applications?
Replies: 29
Views: 648

Re: good and simple to use IDE for wxWidgets based applications?

gtafan wrote:
Mon Jan 06, 2020 1:05 pm
Also since a graphical GUI designer is the most important part, VS is defenetlly of no use for me.
You always can use external RAD tool, for example wxFormBuilder - https://github.com/wxFormBuilder/wxFormBuilder with any IDE.
by Kvaz1r
Sat Dec 28, 2019 7:13 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem installing wxFreeChart
Replies: 14
Views: 286

Re: Problem installing wxFreeChart

Maybe you forgot to add wxFreeChart.lib file in additional dependencies of linker settings?
by Kvaz1r
Sat Dec 28, 2019 2:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem installing wxFreeChart
Replies: 14
Views: 286

Re: Problem installing wxFreeChart

both versions build succeeds but afterwards a window pops out saying "Unable to start program (...)\build\..\lib\vc_lib\wxFreeChart.lib the system cannot find the file specified". After adding E:\sdks\wxFrCh\include to project properties->C/C++->Additional Include Directories and E:\sdks\wxFrCh\lib...
by Kvaz1r
Sat Dec 21, 2019 9:55 am
Forum: C++ Development
Topic: Abnormal program exit
Replies: 8
Views: 190

Re: Abnormal program exit

Your code runs without crash for me (I use VS), but you can reduce code even more. What if your frame won't contains any control? What if you remove only status bar?
by Kvaz1r
Sat Dec 21, 2019 7:28 am
Forum: C++ Development
Topic: wxDataViewCtrl issues
Replies: 1
Views: 259

Re: wxDataViewCtrl issues

If you can reproduce the behaviour with corresponding sample it would be better to open new ticket - https://trac.wxwidgets.org. If sample works as expected then provide more code.
by Kvaz1r
Fri Dec 20, 2019 10:40 pm
Forum: Compiler / Linking / IDE Related
Topic: good and simple to use IDE for wxWidgets based applications?
Replies: 29
Views: 648

Re: good and simple to use IDE for wxWidgets based applications?

I also use VS Community. Unfortunately all known alternatives are significantly inferior in convenience.
by Kvaz1r
Tue Dec 03, 2019 12:03 pm
Forum: C++ Development
Topic: wxNumberFormatter
Replies: 1
Views: 82

Re: wxNumberFormatter

by Kvaz1r
Mon Dec 02, 2019 7:05 pm
Forum: C++ Development
Topic: wxString spliting syntax
Replies: 7
Views: 175

Re: wxString spliting syntax

There is wxStringTokenizer for splitting.