Search found 56 matches

by Ellan
Wed Jun 13, 2018 1:23 am
Forum: Platform Related Issues
Topic: CEF is embedded in wxWebview, when click the drop-down selection menu application crash on macos
Replies: 0
Views: 69

CEF is embedded in wxWebview, when click the drop-down selection menu application crash on macos

os:macOs wx Version:3.0.1 CEF Version:3.3071.1644 when I use CEF, click the drop-down selection menu on web page I get the error: FATAL:scoped_sending_event.mm(14)] Check failed: [app_ conformsToProtocol:@protocol(CrAppControlProtocol)]. on CEF forums an answer implement CrAppControlProtocol,but I g...
by Ellan
Tue Nov 14, 2017 8:59 am
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

Re: my program compiled error on wx/buffer.h [SOLVED]

doublemax wrote:WXBUILDING should only be defined if you're compiling the wx libraries themselves. Not when you're building an application that uses wxWidgets.

Thank you !
Now I don't have that error. I haven't changed anything. It's amazing.
by Ellan
Tue Nov 14, 2017 7:34 am
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

Re: my program compiled error on wx/buffer.h [SOLVED]

Building the wx libraries worked ok? Which command line did you use? Can you build the "minimal" sample that comes with wxWidgets? In the preprocessor definitions i see something that begins with "WXBUILDING...". That looks wrong. What's the complete entry? WX20171114-153203.png
by Ellan
Tue Nov 14, 2017 6:52 am
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

Re: my program compiled error on wx/buffer.h [SOLVED]

ONEEYEMAN wrote:Hi,
So they are gone now?

Thank you.

No!
Perhaps the definition and the declaration of the template class are not in the same file, but the namespace error is not understood.
I've set it up again on wxWiki, but again, the errors are in the wx/buffer.h file!
error3.png
error3.png (77.39 KiB) Viewed 691 times

error2.png
error2.png (46.31 KiB) Viewed 691 times

error.png
by Ellan
Tue Nov 14, 2017 2:55 am
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

Re: my program compiled error on wx/buffer.h [SOLVED]

Doesn't anyone use wx on MacOs? Very few people in this forum work under OS X. I can only think of 2 or 3. I'm not one of them. Building the wx libraries worked ok? Which command line did you use? Can you build the "minimal" sample that comes with wxWidgets? My best guess is that the incl...
by Ellan
Tue Nov 14, 2017 2:02 am
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

Re: my program compiled error on wx/buffer.h [SOLVED]

Doesn't anyone use wx on MacOs? Very few people in this forum work under OS X. I can only think of 2 or 3. I'm not one of them. Building the wx libraries worked ok? Which command line did you use? Can you build the "minimal" sample that comes with wxWidgets? My best guess is that the incl...
by Ellan
Tue Nov 14, 2017 1:31 am
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

Re: my program compiled error on wx/buffer.h [SOLVED]

Hi, Did you follow instructions in the wxWiki on setting up the Xcode for wxWidgets project? What are the output of "wx-config --include" and "wx-config --libs"? Did you correctly transferred those options inside the Xcode? Thank you. the anther screenshot LibPath1.png DefinedSe...
by Ellan
Tue Nov 14, 2017 1:28 am
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

Re: my program compiled error on wx/buffer.h [SOLVED]

Hi, Did you follow instructions in the wxWiki on setting up the Xcode for wxWidgets project? What are the output of "wx-config --include" and "wx-config --libs"? Did you correctly transferred those options inside the Xcode? Thank you. Thank you for reminding me that I followed t...
by Ellan
Mon Nov 13, 2017 2:56 pm
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

Re: my program compiled error on wx/buffer.h [SOLVED]

Doesn't anyone use wx on MacOs?
by Ellan
Mon Nov 13, 2017 9:44 am
Forum: Compiler / Linking / IDE Related
Topic: my program compiled error on wx/buffer.h [SOLVED]
Replies: 14
Views: 761

my program compiled error on wx/buffer.h [SOLVED]

Hi,
My wx program runs well under Windows and is currently being ported to MacOs, and the MacOs version is 10.12, IDE: XCode, but when compiled under the Mac, it is incorrectly reported in wx/buffer
by Ellan
Mon Nov 13, 2017 2:29 am
Forum: Compiler / Linking / IDE Related
Topic: WxWebViewChromium under Mac error: Allocating an object of the abstract class type 'wxWebViewChromium' [SOLVED]
Replies: 2
Views: 392

WxWebViewChromium under Mac error: Allocating an object of the abstract class type 'wxWebViewChromium' [SOLVED]

Hi,everyone I made a modification with wxWebViewChromium and it worked fine under Windows, but when I moved this code to the Mac system, it has error: /Users/eims/MailCloudMac/include/webview_chromium.h:299:46: Allocating an object of abstract class type 'wxWebViewChromium'. But,the pure virtual fun...
by Ellan
Wed Sep 27, 2017 2:15 am
Forum: C++ Development
Topic: radiobutton + tab problem
Replies: 2
Views: 244

Re: radiobutton + tab problem

you should do what you want in the keyboard event handler function
by Ellan
Wed Sep 27, 2017 1:18 am
Forum: C++ Development
Topic: text file and 8859-2 encoding [SOLVED]
Replies: 3
Views: 339

Re: text file and 8859-2 encoding

My understanding is that the string is iso 8859-2 encoded in memory and then written to file
by Ellan
Tue Sep 26, 2017 2:32 am
Forum: wxWidgets Development (Chinese)
Topic: wxsocket Read读取数据遇到\0字符串被截断的问题
Replies: 2
Views: 503

Re: wxsocket Read读取数据遇到\0字符串被截断的问题

你使用strlen的时候肯定计算出来的长度不对,你是不是应该使用socket read的返回值作为接收字符串的长度

Go to advanced search