Search found 126 matches

by kipade
Tue Jan 17, 2017 1:29 am
Forum: wx.NET
Topic: How to create a wxWidgets window as subwindow of a C# Form window?
Replies: 1
Views: 17455

How to create a wxWidgets window as subwindow of a C# Form window?

As the topic, I have to create a C++ wxWidgets panel as the subwindow of a C# Form window. Of course I have to do such things within a dll. But now, I do not know how to do it.
Any ideas? Thanks
by kipade
Mon Jan 16, 2017 6:48 am
Forum: Announcements and Discoveries
Topic: Is there a plan for Wayland based server porting?
Replies: 3
Views: 3733

Re: Is there a plan for Wayland based server porting?

Thanks for your reply. Now I want to make wxWidgets as my ARM linux's basic gui library, but I know nothing about wayland.
by kipade
Mon Jan 16, 2017 2:52 am
Forum: Announcements and Discoveries
Topic: Is there a plan for Wayland based server porting?
Replies: 3
Views: 3733

Is there a plan for Wayland based server porting?

As the topic, I want to know if there is a porting plan for wayland based background server?
by kipade
Fri Nov 07, 2014 7:06 am
Forum: C++ Development
Topic: Unicode and UTF-8 issue for Linux
Replies: 3
Views: 1856

Re: Unicode and UTF-8 issue for Linux

I think there was some different with yours.
It can be simply resolved by add a call wxCmdLineParser
by kipade
Thu Nov 06, 2014 4:03 am
Forum: C++ Development
Topic: Unicode and UTF-8 issue for Linux
Replies: 3
Views: 1856

Unicode and UTF-8 issue for Linux

My development environment is Linux, 32bit, with wxWidgets 3.0.0, using default configuration(compiled by ./configure && make). Now, I want to redirect some log info into a text file via wxLogMessage. But I found it only can log english strings. My OS use utf-8 encoding as default, so, I add...
by kipade
Sat Aug 23, 2014 3:47 pm
Forum: Platform Related Issues
Topic: Fatal exception raised for release, wxXmlResource::GetXRCID
Replies: 3
Views: 2394

Re: Fatal exception raised for release, wxXmlResource::LoadF

Thanks for your replly. I found the crash dues to wxXmlResource::DoGetXRCID

Code: Select all

 static int GetXRCID(const wxString& str_id, int value_if_not_found = wxID_NONE)
        { return DoGetXRCID(str_id.mb_str(), value_if_not_found); }
In this function, the heap was damaged.
by kipade
Sat Aug 23, 2014 11:52 am
Forum: Platform Related Issues
Topic: Fatal exception raised for release, wxXmlResource::GetXRCID
Replies: 3
Views: 2394

Fatal exception raised for release, wxXmlResource::GetXRCID

This issue was only for ms platform I usually use wxFrame as my toplevel window, rather than dialog, so i had not found shuch error for any other window class. It works fine for debug version, but only crashed for release version. The labrary will get an when it call GetID(), will got an error: RtlW...
by kipade
Mon Jan 20, 2014 2:35 am
Forum: wxWidgets Development (Chinese)
Topic: 在treectrl的item中加入button
Replies: 2
Views: 4436

Re: 在treectrl的item中加入button

不觉得wx基本代码可以提供如此炫丽的界面支持,因为,原生控件不是这样的
也就意味着,你要实现这样的控件效果,你需要OwnerDraw

但是,如果你只是想要后面加上点其它的东西,请参照wxDataViewCtrl控件,源码例子程序里面的dataview
by kipade
Mon Jan 06, 2014 12:40 pm
Forum: wxWidgets Development (Chinese)
Topic: 怎么使用wxRegEx从文本里面获取一串wxString数组
Replies: 3
Views: 17835

Re: 怎么使用wxRegEx从文本里面获取一串wxString数组

取决于你的数据规则啊。
并不是所有的字符串操作都适用于正则表达式
by kipade
Fri Jan 03, 2014 3:24 am
Forum: wxWidgets Development (Chinese)
Topic: 用wxWidgets怎么在linux环境下显示出不同的汉字及英文字体
Replies: 10
Views: 7832

Re: 用wxWidgets怎么在linux环境下显示出不同的汉字及英文字体

至少你需要安装你要用到的字体吧
打个比方,你只安装个宋体,而你还想显示楷体,恐怕会不行吧
与你是否运行在嵌入式环境下没有关系
by kipade
Thu Jan 02, 2014 8:01 am
Forum: wxWidgets Development (Chinese)
Topic: 用wxWidgets怎么在linux环境下显示出不同的汉字及英文字体
Replies: 10
Views: 7832

Re: 用wxWidgets怎么在linux环境下显示出不同的汉字及英文字体

你发现哪些没有反应了?
对于字体,你的系统上装了哪些可用字体?
by kipade
Thu Jan 02, 2014 5:34 am
Forum: wxWidgets Development (Chinese)
Topic: 用wxWidgets怎么在linux环境下显示出不同的汉字及英文字体
Replies: 10
Views: 7832

Re: 用wxWidgets怎么在linux环境下显示出不同的汉字及英文字体

原本这不是问题
和Windows下一样,你想使用不同的字体样式显示,你就得使用不同的字体,请考samples目录下的font示例
by kipade
Thu Jan 02, 2014 5:24 am
Forum: wxWidgets Development (Chinese)
Topic: 【求助】在wxnotebook的tab中无法显示垂直滚动条
Replies: 4
Views: 5624

Re: 【求助】在wxnotebook的tab中无法显示垂直滚动条

直接使用scrolledwindow可以,但是,tab焦点会有问题的哦