Search found 324 matches

by samsam598
Thu Nov 22, 2012 1:25 am
Forum: wxWidgets Development (Chinese)
Topic: CodeLite在编译wxFB 的项目是都出错
Replies: 4
Views: 4731

Re: CodeLite在编译wxFB 的项目是都出错

以前用过一阵子,刚开始也是这问题,折腾了好一阵子,不记得是怎么配起来的.后来还是用回codeblocks了,不用折腾。
你可以下一个含wx2.8的codelite,看看他是怎么配置wx2.8.x的。
改天回家看看家里的电脑上还有没有保留codelite.
by samsam598
Thu Nov 15, 2012 2:49 am
Forum: wxWidgets Development (Chinese)
Topic: wx启动加快如从前
Replies: 0
Views: 2127

wx启动加快如从前

https://github.com/wxWidgets/wxWidgets/commit/b51014176a539bf0c0e5058910c5a7fcc7a7d0a5 11月15日的github Don't call setlocale("") on startup by default any longer. This undoes the changes of r44773 because calling setlocale() resulted in C locale being set differently from C++ locale which was confusin...
by samsam598
Thu Nov 15, 2012 1:06 am
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 23251

Re: Reviving DatabaseLayer

Could you please consider to add ODBC in?I have issues on it when working with aisa characters and I can't fix it. Appreicated. Hi Sam, I cannot promise anything right now. But definitely, I would like to make the library as alive as possible. Let me see if I can undertake that as far as time resou...
by samsam598
Mon Nov 12, 2012 3:40 am
Forum: wxCode
Topic: Reviving DatabaseLayer
Replies: 73
Views: 23251

Re: Reviving DatabaseLayer

Could you please consider to add ODBC in?I have issues on it when working with aisa characters and I can't fix it.

Appreicated.
by samsam598
Tue Oct 23, 2012 7:31 am
Forum: wxCode
Topic: wxCurl with c++11/gnu++11 issue I encountered
Replies: 1
Views: 2372

Re: wxCurl with c++11/gnu++11 issue I encountered

EDIT: Here is the error message when compiling wxCurl with MinGW 4.7.1 with CXXFLAGS=--std=gnu++11 ../src/base.cpp:67:9: warning: unused parameter 'crlptr' [-Wunused-parameter] ../src/base.cpp: In member function 'virtual wxTimeSpan wxCurlProgressBaseEvent::GetEstimatedTime() const': ../src/base.cpp...
by samsam598
Tue Oct 23, 2012 1:55 am
Forum: wxCode
Topic: wxCurl with c++11/gnu++11 issue I encountered
Replies: 1
Views: 2372

wxCurl with c++11/gnu++11 issue I encountered

As the original post has been marked as 'Solved',I open a new thread in case noone notice my question.Thanks. Well... :) I guess as the original wxCurl person I should look into this, right? From what I can tell, the solution is that we need to shift the mingw32-make to do the following, right? ming...
by samsam598
Tue Oct 23, 2012 1:53 am
Forum: wxCode
Topic: wxCurl linker problems
Replies: 4
Views: 4455

Re: wxCurl linker problems

Well... :) I guess as the original wxCurl person I should look into this, right? From what I can tell, the solution is that we need to shift the mingw32-make to do the following, right? mingw32-make -f makefile.gcc WX_SHARED=1 LDFLAGS=-lwldap32 I'm not a MingGW person, so I'll take your word for th...
by samsam598
Mon Oct 22, 2012 1:53 am
Forum: wxWidgets Development (Chinese)
Topic: =自我介绍=(新人可来这里对自己作自我介绍)
Replies: 146
Views: 180479

Re: =自我介绍=(新人可来这里对自己作自我介绍)

ccnyou wrote:偶是专职业余酱油党,喜欢写写小代码,学习开源项目,特别享受那种写一次代码在多个平台可以同样运行的感觉。
在各个平台使用过Chrome后感叹它的强大,查了下原来是wxWidgets写的,所以想学习之
非常有兴趣知道如何得知Chrome确实是用wxWidgets写的?谢谢。
by samsam598
Mon Oct 22, 2012 1:51 am
Forum: C++ Development
Topic: Options dialog to recycle
Replies: 1
Views: 672

Re: Options dialog to recycle

Do you mean something like this: long wxGetNumberFromUser ( const wxString & message, const wxString & prompt, const wxString & caption, long value, long min = 0, long max = 100, wxWindow * parent = NULL, const wxPoint & pos = wxDefaultPosition ) Shows a dialog asking the user for numeric input. The...
by samsam598
Fri Oct 19, 2012 7:12 am
Forum: C++ Development
Topic: Simple Regex question
Replies: 7
Views: 1900

Re: Simple Regex question

^\d+\. (there is a dot here) should be correct as I have a workable test app in another language (freepascal+lazarus).
Yes,you are right,in wx the reg.isValid() returned true but reg.Match(text2->GetLineText(i)) returned false which I don't know where the issue is.
by samsam598
Fri Oct 19, 2012 12:38 am
Forum: C++ Development
Topic: Simple Regex question
Replies: 7
Views: 1900

Re: Simple Regex question

Thanks.It solved the issue how to remove the line number.

Still wanna know why the regex version failed as I am not so faimilar with wxRegEx.
by samsam598
Thu Oct 18, 2012 11:20 am
Forum: C++ Development
Topic: Simple Regex question
Replies: 7
Views: 1900

Re: Simple Regex question

Thanks.It should work perfectly.But in my case,the result is weird :both wxTextCtrl and wxMessageBox printed as below,that is,one more wrong line 'is line 0001.;'. This is line 0001.; This is line 0002.; This is line 0003.; This is line 0004.; is line 0001.; Function: void RemoveTrailingLineNumbersF...
by samsam598
Thu Oct 18, 2012 9:42 am
Forum: C++ Development
Topic: Simple Regex question
Replies: 7
Views: 1900

Simple Regex question

Given below code,with the regular expression ^\d+\. I failed to remove the line numbers at the begining of a given string array likes this one: 0001. This is line 0001.; 0002. This is line 0002.; 0003. This is line 0003. ; 0004. This is line 0004. ; Any help would be appreicated!. void RemoveTrailin...
by samsam598
Mon Sep 24, 2012 8:18 am
Forum: C++ Development
Topic: cant get a pointer to wxwidget object, using wxsmith
Replies: 12
Views: 1972

Re: cant get a pointer to wxwidget object, using wxsmith

Kuba wrote:im getting error:

Code: Select all

expected primary-expression before ‘.’ token
In most case of this line the compiler complained that you should use -> but use '.' in some place very near .