Search found 1321 matches

by PB
Fri Nov 24, 2017 9:10 am
Forum: C++ Development
Topic: FileStream, InputStream and Bit ignore [SOLVED]
Replies: 4
Views: 47

Re: FileStream, InputStream and Bit ignore [SOLVED]

wxString sNewContent; try { <snipped> } catch(const wxStreamError &e) { wxGetApp().DoLog("BaseLog streaming Error!"); } wxStreamError seems to be an enum. Do wxWidgets actually throw it when an error is encountered? I have always thought wxWidgets do not throw any exceptions at all bu...
by PB
Fri Nov 24, 2017 9:06 am
Forum: Compiler / Linking / IDE Related
Topic: WIN10 Simple sample from outside WXW environment available?
Replies: 11
Views: 103

Re: WIN10 Simple sample from outside WXW environment available?

Where and how exactly to place the WXUSINGDLL in case I would try to test it? (somewhat __WXUSINGDLL__ or -WXUSNGDLL or alike?) If you are not using dynamic (DLL) build then you do NOT define WXUSINGDLL. Please notice that exact spelling matters here. IF you do use a dynamic build, you add it to th...
by PB
Thu Nov 23, 2017 9:02 pm
Forum: Compiler / Linking / IDE Related
Topic: WIN10 Simple sample from outside WXW environment available?
Replies: 11
Views: 103

Re: WIN 10 - WXW 3.0.3 MSVC2015 (WAS: WIN10 Simple sample from outside WXW ...)

Some strange things as follow: 1. WxW 3.0.3 builds fine (24 files without any error - releas, dynamic libs , lib_vc and ~\mswu exist) This is strange, if you built dynamic libs using the default settings, these should sit in WXWIN/lib/vc_dll. Additionally, I see "vc_mswu" paths, the dll b...
by PB
Thu Nov 23, 2017 4:51 pm
Forum: Compiler / Linking / IDE Related
Topic: WIN10 Simple sample from outside WXW environment available?
Replies: 11
Views: 103

Re: WIN10 Simple sample from outside WXW environment available?

While I use the VS 2015 Express, I have played with MSVC 2017 Community and it is pretty much the same - I doubt it is issue with it. If the paths etc are not displayed in he properties, it is usually because you do not have a project selected in the Solution Explorer window but you have selected ei...
by PB
Thu Nov 23, 2017 11:22 am
Forum: Compiler / Linking / IDE Related
Topic: WIN10 Simple sample from outside WXW environment available?
Replies: 11
Views: 103

Re: WIN10 Simple sample from outside WXW environment available?

Once again, Windows version is basically irrelevant for building both the library and your application, as long as it is a supported one (XP-10). I believe that file WXWIN/docs/msw/install.txt in the "Building Applications Using wxWidgets" section sufficiently describes those few simple st...
by PB
Wed Nov 22, 2017 6:07 pm
Forum: Compiler / Linking / IDE Related
Topic: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem
Replies: 11
Views: 135

Re: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem

FWIW, I was able to successfully build the current wxWidgets GIT master and minimal sample with MinGW-w64 with GCC 7.2 (using package MinGW-w64 i686-7.2.0-posix-dwarf-rt_v5-rev0) Command line used mingw32-make -f makefile.gcc CXXFLAGS="-std=gnu++14" So information I provided in one of my e...
by PB
Wed Nov 22, 2017 9:38 am
Forum: Compiler / Linking / IDE Related
Topic: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem
Replies: 11
Views: 135

Re: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem

You did not post any wxUSE_* related error. Regarding the linker issue: Make sure that you that you added the proper folder to Additional Library Directiories in Linker/General Input (e.g. $(WXWIN)\lib\vc_lib) and the libraries are actually there. Edit Sorry, I missed that you are trying to build a ...
by PB
Wed Nov 22, 2017 9:36 am
Forum: General Forum Issues
Topic: How does a question gets marked as "SOLVED" [SOLVED]
Replies: 4
Views: 69

Re: How does a question gets marked as "SOLVED" [SOLVED]

If you mean the "WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem" thread, you started the thread with as a different user (vcfbauplusfe). As doublemax wrote, only the thread starter can mark the thread as solved.
by PB
Tue Nov 21, 2017 9:34 pm
Forum: Compiler / Linking / IDE Related
Topic: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem
Replies: 11
Views: 135

Re: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem

(I assume you have a clean install of wxWidgets, i.e., there are no leftovers from previous build attempts in WXWIN/lib and WXWIN/build/msw folders.) Replacing gcc 7 by gcc 5 i mingw32 Well, if you need C++ features available only for GCC 7 then you are out of luck. Otherwise there should be no prob...
by PB
Tue Nov 21, 2017 6:16 pm
Forum: Compiler / Linking / IDE Related
Topic: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem
Replies: 11
Views: 135

Re: WIN10 mingw32 gcc 7.2.0 wxWidgets makefile build problem

I am not really using MinGW32 but AFAIK: * Version with GCC 5.3 works out of the box as expected. * Version with GCC 6.3 does not work: https://trac.wxwidgets.org/ticket/17936 . * MinGW32 does not provide a version with GCC 7 yet. MinGW64 does but it is using MSYS2 so you cannot just use a commandli...
by PB
Tue Nov 21, 2017 8:31 am
Forum: C++ Development
Topic: can wxwebview sen keys to the browser
Replies: 3
Views: 55

Re: can wxwebview sen keys to the browser

You could try wxUIActionSimulator but I have no idea whether it will work or how will you know which keys to send...
by PB
Mon Nov 20, 2017 9:59 am
Forum: C++ Development
Topic: wxWebView can't use browser after wxSleep
Replies: 5
Views: 96

Re: wxWebView can't use browser after wxSleep

Rule of a thumb: GUI classes are to be accessed only from the GUI (= primary) thread.

Can't you use wxTimer or the page loaded event (or when it comes to worst, CallAfter() assuming you are not interested in the RunScript's return value) instead?
by PB
Sat Nov 18, 2017 6:56 pm
Forum: C++ Development
Topic: Get data from a web page
Replies: 8
Views: 106

Re: Get data from a web page

Actually, there may be more options than just those listed by doublemax. POCO library can be one of them, see e.g. https://gist.github.com/t-mat/5c1b68d56179d7af7e98 . Perhaps it could be annoying that almost all net libraries using SSL have 3rd party SSL library dependency (such as OpenSSL) but it'...
by PB
Thu Nov 16, 2017 7:47 pm
Forum: C++ Development
Topic: wxButton with swaping wxBitmaps [SOLVED]
Replies: 2
Views: 49

Re: wxButton with swaping wxBitmaps [SOLVED]

wxWidgets GIT master, Windows 10 It seems you are correct and seeing that the impossibility to simply change the bitmap in wxButton is not documented I would consider it a bug. But it appears that it can be worked around by resetting the bitmap to invalid bitmap prior to assigning a new one. #includ...
by PB
Thu Nov 16, 2017 3:26 pm
Forum: Compiler / Linking / IDE Related
Topic: Problem building wxWidgets 3.0.3 on Win 7 with Git's MinGW-W64
Replies: 16
Views: 177

Re: Problem building wxWidgets 3.0.3 on Win 7 with Git's MinGW-W64

You need to decide whether you want to use static (SHARED=0) or dynamic (SHARED=1) build. The main difference is that with dynamic build, you will need to distribute also wxWidgets DLL along with your application. Whichever of the two you pick, you should build both Debug and Release versions. The d...

Go to advanced search