Search found 55 matches

by dqf88
Thu May 28, 2015 12:25 am
Forum: Announcements and Discoveries
Topic: ANN: wxSQLite3 3.2.0 released
Replies: 3
Views: 2699

Re: ANN: wxSQLite3 3.2.0 released

Thanks
by dqf88
Tue May 26, 2015 6:17 am
Forum: wxWidgets Development (Chinese)
Topic: 怎么用codeblocks编译wxsqlite3的静态库?
Replies: 1
Views: 3065

怎么用codeblocks编译wxsqlite3的静态库?

怎么用codeblocks编译wxsqlite3的静态库?我编译sqlite时总是出错:sqlite3\secure\src\sqlite3.c:14222:31: error: #if with no expression,错误指向#if SQLITE_USER_AUTHENTICATION,怎么解决呢?
by dqf88
Tue May 26, 2015 4:49 am
Forum: Announcements and Discoveries
Topic: ANN: wxSQLite3 3.2.0 released
Replies: 3
Views: 2699

Re: ANN: wxSQLite3 3.2.0 released

When I compile the source code, this error comes up. How to solve the problem? thanks

wxsqlite3\sqlite3\secure\src\sqlite3.c:14222:31: error: #if with no expression

point to "#if SQLITE_USER_AUTHENTICATION"
by dqf88
Sun Mar 01, 2015 12:39 pm
Forum: C++ Development
Topic: 'wxMessageBox' was not declared in this scope
Replies: 1
Views: 1754

'wxMessageBox' was not declared in this scope

I build a wxwidgets project , This error occurred: 'wxMessageBox' was not declared in this scope
why?
by dqf88
Fri Feb 13, 2015 1:01 am
Forum: wxWidgets Development (Chinese)
Topic: 如何判断wxRichtextCtrl中选中文本是否使用了列表样式?
Replies: 0
Views: 2301

如何判断wxRichtextCtrl中选中文本是否使用了列表样式?

如何判断wxRichtextCtrl中选中文本是否使用了列表样式?有哪位仁兄知道,请告知,谢谢
by dqf88
Sun Feb 08, 2015 12:31 pm
Forum: C++ Development
Topic: How to convert "启发" to 启$#21457
Replies: 1
Views: 647

How to convert "启发" to 启$#21457

How to convert chinese this way ? "启发" to $#21551;$#21457
by dqf88
Wed Feb 04, 2015 11:37 am
Forum: C++ Development
Topic: How to convert wxString type to char* type ?
Replies: 5
Views: 1594

How to convert wxString type to char* type ?

How to convert wxString type to char* type ? I dealt with it like this,but don't work,why?

Code: Select all

wxString str="I' m a string!";
char* s=str.mb_str();
by dqf88
Tue Feb 03, 2015 12:12 pm
Forum: C++ Development
Topic: How to get the content with RTF format from wxRichTextCtrl?
Replies: 4
Views: 1230

Re: How to get the content with RTF format from wxRichTextCt

doublemax wrote:For that purpose use wxRICHTEXT_TYPE_XML.
thanks
by dqf88
Tue Feb 03, 2015 11:15 am
Forum: C++ Development
Topic: How to get the content with RTF format from wxRichTextCtrl?
Replies: 4
Views: 1230

Re: How to get the content with RTF format from wxRichTextCt

doublemax wrote:Despite its name, wxRichTextCtrl doesn't use RTF format and there is no way to import or export it.
How to get the Formatted content for putting it in a database please?
by dqf88
Tue Feb 03, 2015 10:33 am
Forum: C++ Development
Topic: How to get the content with RTF format from wxRichTextCtrl?
Replies: 4
Views: 1230

How to get the content with RTF format from wxRichTextCtrl?

How to get the content with RTF format from wxRichTextCtrl? I wrote the code like this,but failed.Help me please! wxString text=""; wxRichTextBuffer buffer=m_richProcess->GetBuffer(); wxStringOutputStream strStream(& text); buffer.SaveFile (strStream, wxRICHTEXT_TYPE_RTF ); m_textCtrl4...
by dqf88
Mon Jan 26, 2015 10:33 am
Forum: wxWidgets Development (Chinese)
Topic: 怎样实现codeblocks中的智能输入功能
Replies: 1
Views: 3381

怎样实现codeblocks中的智能输入功能

有哪位高手知道怎样实现codeblocks中的智能输入功能?请指点一下,谢谢。
aa.png
aa.png (46.27 KiB) Viewed 3381 times
by dqf88
Sat Oct 27, 2012 11:31 am
Forum: C++ Development
Topic: How to use wxArrayDouble
Replies: 1
Views: 919

How to use wxArrayDouble

How to use wxArrayDouble?
by dqf88
Thu Oct 11, 2012 8:07 am
Forum: C++ Development
Topic: How to use the wxAutomationObject
Replies: 0
Views: 1052

How to use the wxAutomationObject

1、How to insert a picture into a word document, and scale the size?
2、How to operate the table in a word document, and change the table style?
by dqf88
Tue Oct 09, 2012 12:23 pm
Forum: General Development
Topic: How to use wxRegEx?
Replies: 4
Views: 2342

Re: How to use wxRegEx?

So did it work or not? When using string literals in C++ you have to use double-slashes. If you just write "\w", only "w" will actually be passed to regex, because the compiler already interpreted the backslash as escape character. BTW: Use normal sized fonts please. Oh, thank y...
by dqf88
Tue Oct 09, 2012 12:55 am
Forum: General Development
Topic: How to use wxRegEx?
Replies: 4
Views: 2342

Re: How to use wxRegEx?

doublemax wrote:For a start, try double-escaping the slashes.
Thanks for your reply, I can obtain the very good matching in RegexBuddy, why?