Search found 1378 matches

by PB
Sun Feb 18, 2018 7:21 pm
Forum: Platform Related Issues
Topic: [wxMSW][wx3.0.3] Watching dir for webm files
Replies: 1
Views: 41

Re: [wxMSW][wx3.0.3] Watching dir for webm files

I believe it is not. Obviously, the first issue is easy to work around, as you can filter out the files you are not interested in. The second issue workaround would be more difficult. You would need to keep track of the files for which the modify event arrived and e.g. periodically test if they are ...
by PB
Fri Feb 16, 2018 11:55 am
Forum: C++ Development
Topic: wxDateTime::Set() failures [SOLVED]
Replies: 2
Views: 60

Re: wxDateTime::Set() failures [SOLVED]

wxDateTime* mydate = new wxDateTime() creates myDate in an invalid state. The individual Set{Day!Month!Year}() methods do not alter the state of wxDateTime: wxDateTime& wxDateTime::SetDay(wxDateTime_t mday) { wxASSERT_MSG( IsValid(), wxT("invalid wxDateTime") ); Tm tm(GetTm()); tm.mda...
by PB
Thu Feb 15, 2018 8:10 pm
Forum: Compiler / Linking / IDE Related
Topic: makefile.gcc:5942: recipe for target 'gcc_mswudll\wxtiff_tif_win32.o' failed (W10)
Replies: 10
Views: 112

Re: makefile.gcc:5942: recipe for target 'gcc_mswudll\wxtiff_tif_win32.o' failed (W10)

I believe the issue was fixed two months ago in the trunk and was not backported to the 3.0.x branch:
https://trac.wxwidgets.org/ticket/17936
by PB
Thu Feb 08, 2018 7:11 pm
Forum: Compiler / Linking / IDE Related
Topic: Property sheet ordering
Replies: 4
Views: 76

Re: Property sheet ordering

Seems like an issue with your setup but unfortunately I do not know how to fix or what can cause it. I even thought that MSVC 2017 is generally binary compatible with MSVC 2015 so I believed there should be no issue just within 2017... I still believe that doing that like this is very irregular. Ima...
by PB
Thu Feb 08, 2018 7:06 am
Forum: Compiler / Linking / IDE Related
Topic: Property sheet ordering
Replies: 4
Views: 76

Re: Property sheet ordering

So, I have a project in VS2017, and VS2017 has recently received an update. I have then added all the wxWidgets modules as individual projects to my initial solution Sorry, just curious. Why do you do that instead of the usual and recommended way of using a library in C++, i.e., linking them? I can...
by PB
Wed Feb 07, 2018 3:58 pm
Forum: C++ Development
Topic: dynamic vertical scroll bar and automatic resizing [SOLVED]
Replies: 10
Views: 203

Re: dynamic vertical scroll bar and automatic resizing [SOLVED]

Therefore you can have a main sizer then put wxPanel on it and then use wxPanel as a parent for all GUI elements. BTW, you absolutely can use wxStdButtonSizer with wxDialog or wxPanel. Just curious, what is the advantage of putting the main panel into a sizer, i.e. having a one-item sizer instead o...
by PB
Wed Feb 07, 2018 3:47 pm
Forum: Compiler / Linking / IDE Related
Topic: LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib' [SOLVED]
Replies: 5
Views: 92

Re: LINK : fatal error LNK1181: cannot open input file 'wxbase31u.lib' [SOLVED]

I believe that in the monolithic build, there is no base/core library, wxmsw31u[d].lib contains the wx libraries except the third party ones (and perhaps OpenGL one). The shared libraries should be in vc_dll and not vc_lib. Additionally, you are including the MSVC-specific setup.h, so the wx librari...
by PB
Wed Feb 07, 2018 11:00 am
Forum: C++ Development
Topic: dynamic vertical scroll bar and automatic resizing [SOLVED]
Replies: 10
Views: 203

Re: dynamic vertical scroll bar and automatic resizing [SOLVED]

I have new additional questions please related to your code: - Is there a good reason to add a global panel container when building dialogs ? - Does the method CreateButtonSizer must be avoided ? I believe that you unfortunately cannot use Create(Std)ButtonSizer() when a dialog has a "main&quo...
by PB
Wed Feb 07, 2018 6:59 am
Forum: Compiler / Linking / IDE Related
Topic: Problem Exporting Beast To wxWidgets
Replies: 19
Views: 298

Re: Problem Exporting Beast To wxWidgets

doublemax wrote:Beware that you're allowed to use GUI elements from inside secondary threads in wxWidgets.


Just for the information, I believe that doublemax made a typo here and the sentence should read "Beware that you're NOT allowed to use GUI elements from inside secondary threads in wxWidgets"
by PB
Tue Feb 06, 2018 12:17 pm
Forum: Compiler / Linking / IDE Related
Topic: Link errors with Trunk [SOLVED]
Replies: 21
Views: 307

Re: Link errors with Trunk [SOLVED]

I have to admit I fail to see a bug there.

You either need to install the required SDK version or retarget the solution to use the SDK version of your choice.
by PB
Tue Feb 06, 2018 6:37 am
Forum: C++ Development
Topic: Need help with wxDateTime [SOLVED]
Replies: 6
Views: 120

Re: Need help with wxDateTime [SOLVED]

FWIW, I store and load a datetime with wxConfig as a string using wxDateTime::FormatISOCombined() and wxDateTime::ParseISOCombined().
by PB
Mon Feb 05, 2018 8:06 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem Exporting Beast To wxWidgets
Replies: 19
Views: 298

Re: Problem Exporting Beast To wxWidgets

I believe that when you said "namespace", you meant class methods. I know nothing about Beast: Can you actually use non-static class methods and if you can, do you pass an instance of the wxWidgets class when calling/binding them?
by PB
Mon Feb 05, 2018 6:28 am
Forum: Compiler / Linking / IDE Related
Topic: Link errors with Trunk [SOLVED]
Replies: 21
Views: 307

Re: Link errors with Trunk [SOLVED]

I can confirm that wxWidgets master builds just fine with MSVC 2017, both with IDE and nmake (MS Visual Studio Express 2017 for Windows Desktop, version 15.5.5).
by PB
Sun Feb 04, 2018 5:49 pm
Forum: Compiler / Linking / IDE Related
Topic: Link errors with Trunk [SOLVED]
Replies: 21
Views: 307

Re: Link errors with Trunk [SOLVED]

The errors that you posted in the OP definitely look as building with leftovers, there have been wxStaticBox changes in the master recently.

I believe that if your compiler cannot find stddef.h, there may be something wrong with its setup. Haven't you reported similar issue before on wxTrac?
by PB
Sat Feb 03, 2018 11:00 pm
Forum: C++ Development
Topic: How can you "UnsetFocus"
Replies: 26
Views: 422

Re: How can you "UnsetFocus"

Based on googling and borrowing code from SO, I kludged up the unsightly code below. It seems to work though when launching the compiled application from another process, be it MSVS or the command line console. So perhaps this code could serve as the starting point for implementing your solution. Ob...

Go to advanced search