Weekly OS/2 updtaes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -33,6 +33,7 @@
|
||||
#include "wx/frame.h"
|
||||
#include "wx/listbox.h"
|
||||
#include "wx/button.h"
|
||||
#include "wx/bmpbuttn.h"
|
||||
#include "wx/msgdlg.h"
|
||||
#include "wx/scrolwin.h"
|
||||
#include "wx/radiobox.h"
|
||||
@@ -2814,6 +2815,11 @@ MRESULT wxWindowOS2::OS2WindowProc(
|
||||
,&nX
|
||||
,&nY
|
||||
);
|
||||
if (!pWin->IsOfStandardClass())
|
||||
{
|
||||
if (uMsg == WM_BUTTON1DOWN && pWin->AcceptsFocus() )
|
||||
pWin->SetFocus();
|
||||
}
|
||||
bProcessed = pWin->HandleMouseEvent( uMsg
|
||||
,nX
|
||||
,nY
|
||||
|
Reference in New Issue
Block a user