Search found 4 matches

by ifvimy
Thu Aug 29, 2019 1:14 am
Forum: C++ Development
Topic: How to use Widgets from a dll
Replies: 6
Views: 154

Re: How to use Widgets from a dll

Can you explain the use case a bit more? What about the host application? Will it use wxWidgets, too? I'm sorry. In my solution, there are so many wxPanels and wxDialogs, then I decide to write some of them in other project which will be build to dlls. First, I pass args(wxWindow *parent) to constr...
by ifvimy
Wed Aug 28, 2019 1:12 am
Forum: C++ Development
Topic: How to use Widgets from a dll
Replies: 6
Views: 154

Re: How to use Widgets from a dll

Thanks for your prompt reply. I mean I want to use wxWidgets in my own dll, which maybe a wxPanel or wxDialog in it. In main application, I used the dll and try to construct dll's wxPanel, but failed to register wclass...'. Then I seen the 'dll samples', it solved, but I want to know is there a easi...
by ifvimy
Tue Aug 27, 2019 10:22 am
Forum: C++ Development
Topic: How to use Widgets from a dll
Replies: 6
Views: 154

How to use Widgets from a dll

I have saw the dll sample, then if I want to use the wxPanel from the dll, for example, add the panel to a wxAuiNotbook, I tried, but failed, what should I do?And is there some easy way to use a wxPanel and etc from a dll?
Thanks a lot.
by ifvimy
Fri Aug 16, 2019 6:43 am
Forum: wxWidgets Development (Chinese)
Topic: Failed to register window class
Replies: 0
Views: 405

Failed to register window class

各位大佬,求助,我想把一个wxPanel写在一个dll里,然后在主程序wxApp和wxFrame中去加载他,但是提示标题这个错误。我之前也搜了下论坛,但是wxSetInstance提示找不到,我现在用的wxWidgets3.1.2。求助