Search found 25 matches

by vouk
Mon Oct 26, 2020 5:21 pm
Forum: C++ Development
Topic: Drawing Text antialiased with wxGraphicsContext
Replies: 4
Views: 1947

Re: Drawing Text antialiased with wxGraphicsContext

Perfect! You're awesome!

Many thanks!
by vouk
Mon Oct 26, 2020 12:03 pm
Forum: C++ Development
Topic: Drawing Text antialiased with wxGraphicsContext
Replies: 4
Views: 1947

Re: Drawing Text antialiased with wxGraphicsContext

I know this is a very old topic, but it matches 100% what I am struggling with. So I am reusing it.

I can't get wxGraphicsContext to draw AA text. I am running the latest Win 10 with everything AA except for that single text.
Using wxWidgets 3.1.4.
notaa.png
notaa.png (1.09 KiB) Viewed 831 times
Any ideas?
by vouk
Thu Sep 17, 2020 11:53 am
Forum: General Development
Topic: Process flow components lib
Replies: 4
Views: 6079

Re: Process flow components lib

I got wxShapeFramework itself with some little changes compiled, yes (Using 3.1.4 now). Still I'm having issues with it and can't get it working. The linker complains about: 1>wxmsw28ud_wxsf.lib(CanvasState.obj) : error LNK2001: Nicht aufgelöstes externes Symbol ""void __cdecl wxOnAssert(c...
by vouk
Tue Sep 08, 2020 1:24 pm
Forum: Compiler / Linking / IDE Related
Topic: Unresolved symbol "wxEntryStart()"
Replies: 0
Views: 15391

Unresolved symbol "wxEntryStart()"

Hi, I upgraded from 3.1.2 to 3.1.4 (msw) and I was able to fix all the issues except for one. nmake /f makefile.vc BUILD=debug TARGET_CPU=X64 As I am using static libs wxWidgets in a custom DLL I need to have a custom startup logic. Thats why i have this in my code: // Restore plugin's activation co...
by vouk
Mon May 25, 2020 4:20 pm
Forum: General Development
Topic: Process flow components lib
Replies: 4
Views: 6079

Process flow components lib

Does anybody know if there is a process flow lib for wxWidgets / c++?

I'd like to configure and visualize the processing of data.
Here is a scribble of what I think of:
processflow.png
processflow.png (14.25 KiB) Viewed 6079 times
An animated view would be fantastic.
by vouk
Wed Mar 18, 2020 10:49 am
Forum: Platform Related Issues
Topic: wxWidgets in a dynamic library on MacOS
Replies: 1
Views: 1083

Re: wxWidgets in a dynamic library on MacOS

Can't believe it was so simple.
Seems the event loop on a Mac does not need these kind of hacks:

Code: Select all

(new wxApp());
wxInitialize();

myDialog dia; // keep parent == NULL
int res = dia.ShowModal();
by vouk
Tue Mar 17, 2020 11:08 am
Forum: Platform Related Issues
Topic: wxWidgets in a dynamic library on MacOS
Replies: 1
Views: 1083

wxWidgets in a dynamic library on MacOS

On windows I successfully use WxWidgets in a plugin DLL (for Adobe products) using this approach: https://simon.rozman.si/computers/wxwidgets/wxwidgets-dll-plugin Now I'd like to do this with MacOS / Cocoa in XCode with WxWidgets 3.1.3. Did anybody do this already or knows how to do this? I'd just l...
by vouk
Wed Jun 26, 2019 11:20 am
Forum: C++ Development
Topic: wxRichTextCtrl and unicode / utf-8
Replies: 2
Views: 699

Re: wxRichTextCtrl and unicode / utf-8

Sorry, i was not precise enough. The value is coming from external JSON: [{"name":"Valnir\u00c6sirsson"}] I read that in with wxHTTP and it is stored in a wxString like this: res = {m_impl=L"[{\"name\":\"Valnir\\u00c6sirsson\"}]"} So unfortunately it...
by vouk
Wed Jun 26, 2019 9:01 am
Forum: C++ Development
Topic: wxRichTextCtrl and unicode / utf-8
Replies: 2
Views: 699

wxRichTextCtrl and unicode / utf-8

I am using wxWidgets 3.1.2 on Windows with MSVC. I have this code:

Code: Select all

richText.WriteText("Valnir\u00c6sirsson"); // Got this from external JSON data
Unfortunately it appears as:

Code: Select all

ValnirÆsirsson
It should be:

Code: Select all

ValnirÆsirsson
How can I fix this? Thank you.
by vouk
Tue Apr 30, 2019 5:41 am
Forum: Platform Related Issues
Topic: wxPropertyGrid issues with Classic Windows Theme
Replies: 10
Views: 2980

Re: wxPropertyGrid issues with Win 7 and Win 8.1

I installed VS in the VM and the debugger breaks into the exception now. Null pointer exception: m_rendererNative was nullptr wx/renderer.h: virtual void DrawTreeItemButton(wxWindow *win, wxDC& dc, const wxRect& rect, int flags = 0) wxOVERRIDE { m_rendererNative.DrawTreeItemButton(win, dc, r...
by vouk
Mon Apr 29, 2019 4:23 pm
Forum: Platform Related Issues
Topic: wxPropertyGrid issues with Classic Windows Theme
Replies: 10
Views: 2980

Re: wxPropertyGrid issues with Win 7 and Win 8.1

This is the information that windbg shows: (fbc.920): Access violation - code c0000005 (first chance) First chance exceptions are reported before any exception handling. This exception may be expected and handled. *** WARNING: Unable to verify checksum for C:\Program Files\Adobe\Common\Plug-ins\CS6\...
by vouk
Mon Apr 29, 2019 9:23 am
Forum: Platform Related Issues
Topic: wxPropertyGrid issues with Classic Windows Theme
Replies: 10
Views: 2980

Re: wxPropertyGrid issues with Win 7 and Win 8.1

Yes, i will install a debug build later and will check what i can find out with the debugger.
by vouk
Mon Apr 29, 2019 8:29 am
Forum: Platform Related Issues
Topic: wxPropertyGrid issues with Classic Windows Theme
Replies: 10
Views: 2980

Re: wxPropertyGrid issues with Win 7 and Win 8.1

There are some issues with SDK 7.1. I can't install it on Windows 10 because it complains about missing .NET components.

But i am using SDK 8.1 (I downgraded from SDK 10 already) but users still complain about this error on windows 8.1.
by vouk
Mon Apr 29, 2019 8:05 am
Forum: Platform Related Issues
Topic: wxPropertyGrid issues with Classic Windows Theme
Replies: 10
Views: 2980

Re: wxPropertyGrid issues with Win 7 and Win 8.1

Yes, I just edited the original post. It only occurs when the user is using the classic theme.
by vouk
Mon Apr 29, 2019 5:40 am
Forum: Platform Related Issues
Topic: wxPropertyGrid issues with Classic Windows Theme
Replies: 10
Views: 2980

wxPropertyGrid issues with Classic Windows Theme

First, in my case under Win 10 everything works fine. No issues at all and I really love to work with wxWidgets. My application is built with wx 3.1.2 / VS 2017 / Win 10 and a plugin to Adobe Premiere running in an DLL by using this technique: https://simon.rozman.si/computers/wxwidgets/wxwidgets-dl...