Search found 179 matches

by rocrail
Sat May 25, 2019 5:47 am
Forum: Platform Related Issues
Topic: Exclude Context Menus from DPI Awareness
Replies: 5
Views: 1296

Re: Exclude Context Menus from DPI Awareness

Hi Natu,

the wx.rc does include the manifest.wx file.
Would it not be better to modify the
⁨include/⁨wx⁩/⁨msw/manifest.wx
file?
Or How can I include my own project dependent manifest?

Any help is very appreciated.
by rocrail
Sat May 25, 2019 5:26 am
Forum: C++ Development
Topic: EVT_TREE_STATE_IMAGE_CLICK() and the second monitor
Replies: 27
Views: 776

Re: EVT_TREE_STATE_IMAGE_CLICK() and the second monitor

Something like this? <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3"> <assemblyIdentity type="win32" name="MyApplication" version="1.0.0.0" processorArchitecture="amd64"/> ...
by rocrail
Sat May 25, 2019 5:09 am
Forum: C++ Development
Topic: EVT_TREE_STATE_IMAGE_CLICK() and the second monitor
Replies: 27
Views: 776

Re: EVT_TREE_STATE_IMAGE_CLICK() and the second monitor

wxWidgets has a wx.manifest in the source tree which is included by wx.rc.
Which lines must I add or change?
by rocrail
Fri May 24, 2019 8:10 pm
Forum: C++ Development
Topic: EVT_TREE_STATE_IMAGE_CLICK() and the second monitor
Replies: 27
Views: 776

Re: EVT_TREE_STATE_IMAGE_CLICK() and the second monitor

doublemax wrote:
Thu May 02, 2019 6:07 pm
Is your app marked as "DPI aware" through the manifest?
how to? In which part of the wxWidgets Application?
by rocrail
Fri May 24, 2019 1:41 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

Success.
With 3.1.x the extra library is included with the wx-config --libs call.
Works for both Win32 and Win64.

Thanks for all your tips.
by rocrail
Fri May 24, 2019 9:19 am
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

I switch for win32/64 to the master branch 3.1.3.
Without changing anything in the build process the scintilla library is included automatically.
BTW: Both win32 and win64 are cross compiled on an RPi with Raspbian and mingw.
by rocrail
Thu May 23, 2019 2:09 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

New Pagodi wrote:
Thu May 23, 2019 2:05 pm
When linking statically, you also need to include the scintilla library (wxscintilla-3.0-x86_64-w64-mingw32.a based on the picture you posted above).
Yes, that did work.
I will try the master branch...
by rocrail
Thu May 23, 2019 1:49 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

It seems this configure parameter
--enable-mslu
does screw up things...
by rocrail
Thu May 23, 2019 1:40 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

the --libs all does not show stc: [email protected]:~ $ /usr/x86_64-w64-mingw32/bin/wx-config --libs all -Wl,--subsystem,windows -mwindows /usr/x86_64-w64-mingw32/lib/libwx_mswu-3.0-x86_64-w64-mingw32.a -lwxregexu-3.0-x86_64-w64-mingw32 -lwxexpat-3.0-x86_64-w64-mingw32 -lwxtiff-3.0-x86_64-w64-mingw32 -lwxjp...
by rocrail
Thu May 23, 2019 1:28 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

I have included stc in the --libs, but still no luck: ... `/usr/x86_64-w64-mingw32/bin/wx-config --libs core,base,aui,stc` -static-libgcc -static -liphlpapi -lmpr -lmswsock -lws2_32 -ladvapi32 /usr/x86_64-w64-mingw32/lib/libwx_mswu-3.0-x86_64-w64-mingw32.a(monolib_stc.o):stc.cpp:(.text+0x1f81): unde...
by rocrail
Thu May 23, 2019 6:25 am
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

I did add to the configure line --enable-stc
The wx build is running...
by rocrail
Thu May 23, 2019 5:12 am
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

Hi,

this is the configure line:

Code: Select all

../configure --prefix=/usr/x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-msw --enable-unicode --enable-mslu --disable-shared --enable-graphics_ctx --enable-monolithic
by rocrail
Wed May 22, 2019 5:26 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Re: Ubuntu can't link wxStyledTextCtrl

Hi David, I add the stc in the libs line: --libs core,base,aui,stc Now it compiles under Linux, but under Windows this seems not to do the trick. a ../winbin/librocutils.a `/usr/x86_64-w64-mingw32/bin/wx-config --libs core,base,aui,stc` -static-libgcc -static -liphlpapi -lmpr -lmswsock -lws2_32 -lad...
by rocrail
Wed May 22, 2019 2:54 pm
Forum: Compiler / Linking / IDE Related
Topic: Ubuntu can't link wxStyledTextCtrl
Replies: 15
Views: 502

Ubuntu can't link wxStyledTextCtrl

Hi,

I want to use the wxStyledTextCtrl for viewing and modifying XML.
Compile and Link under macOS with wxWidgets 3.1.3 is OK and works perfectly.

But all Linux distributions compile, but do not link because the wxStyledTextCtrl is unresolved. (wxWidgets 3.0.4)

Any suggestions?
by rocrail
Wed May 22, 2019 2:45 pm
Forum: C++ Development
Topic: wxTextCtrl: Switching on the fly from wrap to hscroll
Replies: 12
Views: 413

Re: wxTextCtrl: Switching on the fly from wrap to hscroll

At linking under Ubuntu 18.04 the Control is not available. No Compile error...
undef.png