Congratulation develloper-team
Robert Luchner
r.luchner at gmx.at
Sat Oct 14 05:15:48 PDT 2006
Hi all!
I congratulation to the wxWidgets develloper-team!
Since today i used wxWidgets 2.7.0 under Windows XP.
Now i downloaded wxWidgets 2.7.1. I extracted the archiv and set the
environment variable wxWin=wxWidgets-2.7.1.
I changed my settings in the %wxwin%\include\wx\msw\setup.h.
I changed the %wxwin%\build\msw\config.vc for my nesserary.
Then i changed to little paches for me:
1.) In file <src\generic\grid.cpp> as following:
In <wxGridCellTextEditor>
/// original code
#if defined(__WXMSW__)
, wxTE_PROCESS_TAB | wxTE_AUTO_SCROLL | wxNO_BORDER
#endif
// end original code
// my code:
#if defined(__WXMSW__)
, wxTE_PROCESS_TAB | wxTE_PROCESS_ENTER |
wxTE_AUTO_SCROLL | wxNO_BORDER
#endif
// end of my code
The reason for this patch is: i use wxGrid very often for data input
(price calcualtion etc.). And if i use the original code, the user has
allways to press Return twice!
2.) In the file <src/msw/windows.cpp> i made the following changes in
the function
...
bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
...
case VK_RETURN:
...
#if wxUSE_BUTTON
...
if ( lDlgCode & DLGC_DEFPUSHBUTTON )
...
else // not a button itself, do we have default button?
{
/////!!!!! my patch for RETURN Handling.....
if ( (lDlgCode/* & DLGC_WANTMESSAGE*/) && !bCtrlDown )
{
// control wants to process Enter itself, don't
// call IsDialogMessage() which would consume it
return false;
}
/////!!!!! Ende Eigencode for RETURN Handling.....
wxTopLevelWindow *
...
The reasen is, i alway decode <Return/Tab> by myself, and some
wxControls can do this!
Then i compiled the library: ABSOLUTLY NO PROBLEM!!!!!
When i compiled the samples (sometimes to see what they do) there only
some little problems:
1.) i changed the makefile.vc in internat-dir: i removed the compilaton
of the ar-lanuage (in my archive it was not present)
2.) i removed the following sub-compilatons of the makefile.vc in sample
directory: sum_memcheck (only by debug), sub_thread (i don't use
thread), sub_mfc (i don't use mfs)
ALL THE OTHER SAMPLES THERE WAS NO PROBLEM!
I compiled my application with VC-Express 2005.
THERE WAS NO PROBLEM!!!!
CONGRATUALTION AND THANK'S TO THE DEVELLOPER TEAM OF wxWidgets!
So far.
wxWidgets and all the devellopers are super!
By
Robert
More information about the wx-users
mailing list