wxWidgets/src/os2
Vadim Zeitlin 60d5c563d2 Avoid events when implicitly selecting first wxBookCtrl page.
The first page added to a wxBookCtrlBase-derived control is always selected,
even if "bSelect" argument of AddPage() was false. This is necessary because
a non-empty book control must always have a selection but the "selection
changed" event generated when doing it is unexpected.

Fix this by not generating any events when the first page is implicitly
selected.

Closes #12075.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-31 13:33:34 +00:00
..
accel.cpp Compilation fix for wxCStrData handling. 2007-04-06 18:08:32 +00:00
app.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
bitmap.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
bmpbuttn.cpp preparation work for implementing images support in wxButton: move wxBitmapButton methods to the base class (enhancing/completing them in the process); there are no functionality changes yet (hopefully) 2009-06-14 22:55:24 +00:00
brush.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
button.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
checkbox.cpp Compilation fix for wxCStrData handling. 2007-04-06 18:08:32 +00:00
checklst.cpp Refactor owner-drawing code. 2010-01-23 13:21:12 +00:00
choice.cpp Fixed compilation error (patch #1827541). 2007-11-07 22:32:40 +00:00
clipbrd.cpp Put braces around all calls to wxLogFunctions() inside an if statement. 2009-07-20 16:47:54 +00:00
colour.cpp Removed constructor already defined in header. 2008-01-12 10:57:13 +00:00
combobox.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
control.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
cursor.cpp Added missing include. 2008-10-08 12:13:05 +00:00
data.cpp Use old licence name 2004-05-23 20:53:33 +00:00
dataobj.cpp use wxString, not wxChar*, in wxDataFormat ctor and SetId() method 2007-05-30 22:02:19 +00:00
dc.cpp No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcclient.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
dcmemory.cpp No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
dcprint.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
dcscreen.cpp Fixed header file conflict. 2008-10-08 17:53:03 +00:00
dialog.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
dir.cpp Remove identic implementations of wxDir::Exists from platform-specific files and put it in dircmn.cpp (they all used wxDirExists). 2010-06-19 11:07:16 +00:00
dirdlg.cpp File/dir dialog styles and other changes (patch 1488371): 2006-05-28 23:32:12 +00:00
dllar.sh Wrong version checked in last time, this time we really: 2006-11-16 08:00:54 +00:00
dllnames.sh Allow passing file names with path to dllnames.sh. 2006-11-05 14:47:14 +00:00
dnd.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
evtloop.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
file.lst nativedlg and some interface changes. 2002-09-16 04:56:00 +00:00
filedlg.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
font.cpp Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
fontdlg.cpp Include wx/cmndata.h according to precompiled headers of wx/wx.h (with other minor cleaning). 2006-05-25 21:08:11 +00:00
fontenum.cpp add safe wxStrlcpy() function and replaced all wxStrncpy() calls by it 2008-11-29 14:41:02 +00:00
fontutil.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
frame.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
gauge.cpp [ 1556353 ] [wxOS2] Change derivation to add wxGauge::Pulse 2006-09-13 16:14:26 +00:00
gdiimage.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
helpwin.cpp wx/wxprec.h already includes wx/defs.h (with other minor cleaning). 2006-04-18 09:56:17 +00:00
icon.cpp OS/2 port: reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType 2008-03-29 19:34:37 +00:00
iniconf.cpp Put braces around all calls to wxLogFunctions() inside an if statement. 2009-07-20 16:47:54 +00:00
joystick.cpp Include wx/window.h according to precompiled headers of wx/wx.h (with other minor cleaning). 2006-05-04 07:57:04 +00:00
listbox.cpp Refactor owner-drawing code. 2010-01-23 13:21:12 +00:00
listctrl.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
main.cpp Use old licence name 2004-05-23 20:53:33 +00:00
makefile.va More OS/2 updates reflecting changes in 24 Branch 2003-04-17 15:47:35 +00:00
menu.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
menuitem.cpp Refactor owner-drawing code. 2010-01-23 13:21:12 +00:00
metafile.cpp try to clear the device/logical unit fog; remove unused and unsupported (an assertion fails if they are used) wxMM_ constants; better docs for the supported wxMM_ constants; use MM_ANISOTROPIC in old win16 metafile code instead of wxMM_ANISOTROPIC since it's not supported by wx code 2009-02-25 12:08:12 +00:00
mimetype.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
minifram.cpp Set svn properties on .cpp files. 2010-09-17 11:17:55 +00:00
msgdlg.cpp Add wxMessageDialog::GetEffectiveIcon() and use it in all ports. 2010-03-20 13:18:23 +00:00
nativdlg.cpp Added support for compiling with wxUSE_STL set to 1. 2004-11-28 18:39:30 +00:00
notebook.cpp Avoid events when implicitly selecting first wxBookCtrl page. 2010-10-31 13:33:34 +00:00
ownerdrw.cpp Refactor owner-drawing code. 2010-01-23 13:21:12 +00:00
palette.cpp replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents 2008-11-02 02:39:52 +00:00
pen.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
popupwin.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
print.cpp removed WXWIN_COMPATIBILITY_2_4 in non-MSW code 2007-03-07 11:48:53 +00:00
radiobox.cpp set m_isBeingDeleted to true (only) in SendDestroyEvent(); call it as early as possible during the window destruction to ensure that destroy event handlers can still access the full window object 2009-01-20 18:33:33 +00:00
radiobut.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
region.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
scrolbar.cpp 1. added wxEvtHandler::SafelyProcessEvent() and wxWindow::HandleWindowEvent() to correctly handle exceptions in even handlers in wxGTK 2007-11-29 17:00:58 +00:00
settings.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
slider.cpp 1. added wxEvtHandler::SafelyProcessEvent() and wxWindow::HandleWindowEvent() to correctly handle exceptions in even handlers in wxGTK 2007-11-29 17:00:58 +00:00
snglinst.cpp Really set svn:eol-style property. 2010-07-17 14:55:45 +00:00
sockpm.cpp Cleanly separate GUI socket-related code from net library. 2009-08-17 23:02:46 +00:00
sound.cpp wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements. 2005-07-21 17:00:07 +00:00
spinbutt.cpp Be more paranoid about parent window possibly being NULL (partly fixes #11115). 2009-09-13 15:48:40 +00:00
spinctrl.cpp Be more paranoid about parent window possibly being NULL (partly fixes #11115). 2009-09-13 15:48:40 +00:00
standard.txt
statbmp.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
statbox.cpp wxBLACK usage. 2006-06-07 13:26:00 +00:00
statline.cpp Include wx/log.h according to precompiled headers of wx/wx.h (with other minor cleaning). 2006-04-26 08:21:31 +00:00
stattext.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
stdpaths.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
textctrl.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
textentry.cpp added wxTextEntry::DoGetValue() to allow returning empty string if the control currently contains hint text 2009-03-02 13:31:29 +00:00
tglbtn.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
thread.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
timer.cpp (blind) compilation fixes after latest changes 2007-04-22 12:31:08 +00:00
toolbar.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
tooltip.cpp Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
toplevel.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
treectrl.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
utils.cpp No changes, just removed hard tabs and trailing white space. 2009-08-21 10:41:26 +00:00
utilsexc.cpp Add support for specifying child process cwd and env to wxExecute(). 2010-10-24 22:40:11 +00:00
utilsgui.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
window.cpp Use wxDELETE() and wxDELETEA() when possible. 2010-06-20 18:18:23 +00:00
y_tab.i