wxWidgets/include/wx
Vadim Zeitlin 3c9863aca7 Keep displayed month and year in sync in wxGenericCalendarCtrl.
When the date was constrained to a range in wxGenericCalendarCtrl, the display
of the month in the month combobox could get out of sync with its real value.

Ensure that the correct month is always displayed and also simplify the code
by removing the apparently unnecessarily complex logic in ChangeYear() and
ChangeMonth() functions.

Closes #11060.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-24 22:40:41 +00:00
..
aui Improve mouse handling code in wxAuiToolBar. 2010-09-29 13:45:56 +00:00
cocoa Add wxIcon::GetSize() to wxIcon in wxOSX. 2010-10-23 21:47:22 +00:00
dfb Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
generic Keep displayed month and year in sync in wxGenericCalendarCtrl. 2010-10-24 22:40:41 +00:00
gtk Correctly initialize wxGtkPrintNativeData members. 2010-10-16 18:11:15 +00:00
gtk1 Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
html Remove hard limit on number of pages in wxHtmlPrintout. 2010-07-24 12:27:18 +00:00
meta Added wxIsPod<>. Use it in wxAny instead of wxIsMovable<>. 2010-06-14 15:12:37 +00:00
mgl Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
motif Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
msdos get rid of wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes from old include files and from the docs. 2010-06-06 11:37:10 +00:00
msw No real changes, just inline wxDIB::Create(). 2010-10-24 22:40:34 +00:00
os2 Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
osx Add wxIcon::GetSize() to wxIcon in wxOSX. 2010-10-23 21:47:22 +00:00
palmos Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
persist
private Correct handling of %hs and %ls in our wxPrintf() implementation. 2010-09-30 14:30:35 +00:00
propgrid Fix non-PCH builds 2010-10-15 15:49:00 +00:00
protocol Allow specifying non default port for wxFTP connections. 2010-06-17 22:30:31 +00:00
ribbon Improve support for ribbon panel sizers: panels with sizers should now automatically minimise at small sizes, and behave properly when popping up from a minimised state. 2010-10-20 17:49:42 +00:00
richtext Fixed #12566 (assert on deletion) due to inconsistent commit 2010-10-14 18:06:02 +00:00
stc Fix wxSTC compilation without wxUSE_DRAG_AND_DROP after r65827. 2010-10-17 18:17:30 +00:00
univ Merge wxUIActionSimulator fixes from SOC2010_GUI_TEST branch. 2010-08-22 22:15:42 +00:00
unix No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
x11 Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
xml More efficient access to name and value 2010-10-06 13:15:24 +00:00
xrc Make it easier to define custom wxSizerXmlHandler subclasses. 2010-10-24 14:33:58 +00:00
aboutdlg.h
accel.h Don't return false from IsOk() for accelerators without flags. 2010-09-10 11:44:35 +00:00
access.h
afterstd.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
anidecod.h
animate.h
animdecod.h
any.h Made wxAny::IsNull() doc string a bit clearer 2010-06-18 13:32:12 +00:00
anystr.h
app.h Fix Cygwin 1.7 build. 2010-07-23 23:32:46 +00:00
apptrait.h
archive.h
arrimpl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
arrstr.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
artprov.h
atomic.h
base64.h
beforestd.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
bitmap.h
bmpbuttn.h
bmpcbox.h
bookctrl.h Implement wxBookCtrlBase::CalcSizeFromPage() in the base class. 2010-03-05 23:55:19 +00:00
brush.h Add wx{Pen,Brush}::Is[Non]Transparent() methods and use them. 2010-10-15 23:46:46 +00:00
buffer.h Fix wxScopedCharTypeBuffer<T>::CreateOwned() to match docs. 2010-05-05 07:45:33 +00:00
build.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. 2010-06-09 13:23:13 +00:00
busyinfo.h
button.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
cairo.h
calctrl.h
caret.h
chartype.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
checkbox.h Add wxHAS_3STATE_CHECKBOX symbol. 2010-10-16 18:10:51 +00:00
checkeddelete.h
checklst.h Include wx/defs.h before testing for wxUSE_CHECKLISTBOX. 2010-08-08 11:35:55 +00:00
chkconf.h Add wxRichMessageDialog class. 2010-08-18 22:48:41 +00:00
choicdlg.h
choice.h
choicebk.h Implement wxBookCtrlBase::CalcSizeFromPage() in the base class. 2010-03-05 23:55:19 +00:00
clipbrd.h
clntdata.h
clrpicker.h
cmdargs.h
cmdline.h
cmdproc.h
cmndata.h
collpane.h
colordlg.h
colour.h Add wxTransparentColour global pseudo-variable. 2010-04-05 11:44:33 +00:00
combo.h Added wxComboCtrl::SetTextCtrlStyle() 2010-06-13 09:59:32 +00:00
combobox.h
commandlinkbutton.h Don't use native MSW wxCommandLinkButton in wxUniversal. 2010-08-18 22:48:48 +00:00
confbase.h Add wxConfig::Read(float *) overload. 2010-05-29 10:35:38 +00:00
config.h
containr.h
control.h no real changes: just a small optimization on wxStaticText::DoSetLabel() to avoid altering m_labelOrig there (it's already modified by SetLabel(), no need to change it twice) 2010-03-28 22:23:38 +00:00
convauto.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
cpp.h
cppunit.h
crt.h
cshelp.h
ctrlsub.h Add wxItemContainer::DetachClientObject() and use it in wxRearrangeList. 2010-07-22 12:09:15 +00:00
cursor.h
dataobj.h
dataview.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
datectrl.h
dateevt.h
datetime.h Make wxDateTime::Tm::yday public and document it. 2010-09-26 22:11:21 +00:00
datstrm.h
dc.h
dcbuffer.h
dcclient.h
dcgraph.h
dcmemory.h
dcmirror.h
dcprint.h
dcps.h
dcscreen.h
dcsvg.h
dde.h
debug.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. 2010-06-09 13:23:13 +00:00
debugrpt.h
defs.h Change wxSP_XXX flags values to avoid clashes with wxTE_XXX. 2010-10-18 23:43:25 +00:00
dialog.h Use the same logic for closing dialogs as for handling Escape key. 2010-09-09 20:53:26 +00:00
dialup.h
dir.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
dirctrl.h
dirdlg.h
display_impl.h
display.h
dlimpexp.h
dlist.h
dnd.h
docmdi.h Refactor wxDocParentFrame and wxDocMDIParentFrame to share common base class. 2010-05-12 14:34:18 +00:00
docview.h Fix processing of events for MRU entries #10 and more in docview. 2010-06-12 18:21:42 +00:00
dragimag.h
dvrenderers.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
dynarray.h
dynlib.h Don't include wx/msw/private.h from dynlib.h. 2010-04-25 12:07:37 +00:00
dynload.h
editlbox.h
effects.h
encconv.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
encinfo.h
event.h Fix wx/event.h compilation with Sun CC compiler. 2010-09-27 12:55:22 +00:00
evtloop.h Fix Cygwin 1.7 build. 2010-07-23 23:32:46 +00:00
evtloopsrc.h no real change: just fix RCS-ID so that it reflects the current revision number 2010-04-25 21:33:16 +00:00
except.h Don't redefine wxNO_EXCEPTIONS in wx/except.h if it's already defined. 2010-07-17 11:55:10 +00:00
fdrepdlg.h
features.h
ffile.h
file.h
fileconf.h
filectrl.h Add "filter changed" event to wxFileCtrl. 2010-05-29 10:35:47 +00:00
filedlg.h
filefn.h Fix Cygwin 1.7 build. 2010-07-23 23:32:46 +00:00
filehistory.h Integrate with GNOME's Recent Documents menu. 2010-05-07 06:45:48 +00:00
filename.h fix typos introduced by error in r63870 (see #10673) 2010-04-06 22:51:11 +00:00
filepicker.h
filesys.h
flags.h
fmappriv.h
font.h Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
fontdlg.h
fontenc.h Added wxFONTENCODING_EUC_KR alias for wxFONTENCODING_CP949. 2010-07-23 23:32:40 +00:00
fontenum.h
fontmap.h
fontpicker.h
fontutil.h trying to simplify and optimize font handling 2010-04-08 21:39:14 +00:00
frame.h No changes, just added comments summarizing the use of style bits. 2010-05-10 21:09:50 +00:00
fs_arc.h
fs_filter.h
fs_inet.h
fs_mem.h
fs_zip.h
fswatcher.h
gauge.h
gbsizer.h
gdicmn.h Add wxPoint::IsFullySpecified() and SetDefaults(). 2010-08-11 16:03:51 +00:00
gdiobj.h
geometry.h
gifdecod.h
glcanvas.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
graphics.h Added wxGraphicsContext::Create(const wxEnhMetaFileDC& dc) so that wxPrintPreview can work with wxMSW's wxGraphicsContext (closes #12028) 2010-05-13 08:22:36 +00:00
grid.h
hash.h
hashmap.h
hashset.h
headercol.h
headerctrl.h
help.h
helpbase.h
helphtml.h
helpwin.h
htmllbox.h
hyperlink.h Only use native wxHyperlinkCtrl in Unicode build under MSW. 2010-08-18 22:48:53 +00:00
icon.h
iconbndl.h Fix compilation of wxIconBundle in some particular minimal builds. 2010-04-12 00:36:31 +00:00
iconloc.h
imagbmp.h
image.h Add wxImage::ClearAlpha(). 2010-04-09 13:15:20 +00:00
imaggif.h
imagiff.h
imagjpeg.h
imaglist.h Include wx/defs.h from all our public headers, including wx/imaglist.h. 2010-02-25 00:03:53 +00:00
imagpcx.h
imagpng.h
imagpnm.h
imagtga.h
imagtiff.h
imagxpm.h
infobar.h Move wxInfoBar to core library from adv. 2010-05-05 12:20:08 +00:00
init.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. 2010-06-09 13:23:13 +00:00
intl.h Don't use size_t for plural forms parameter. 2010-05-05 12:27:07 +00:00
iosfwrap.h
ioswrap.h
ipc.h
ipcbase.h
joystick.h
kbdstate.h
language.h Added wxLANGUAGE_BOSNIAN. 2010-05-06 12:40:11 +00:00
layout.h
laywin.h
link.h
list.h Move wxList::Member() to pseudo-template base list class. 2010-10-10 12:48:36 +00:00
listbase.h
listbook.h Implement wxBookCtrlBase::CalcSizeFromPage() in the base class. 2010-03-05 23:55:19 +00:00
listbox.h Fix wxListBox selection handling broken by r64500. 2010-08-25 15:02:30 +00:00
listctrl.h
listimpl.cpp
log.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. 2010-06-09 13:23:13 +00:00
longlong.h
math.h
matrix.h
mdi.h
mediactrl.h Implement wx-prefixed macros versions of DECLARE_EVENT_TABLE, BEGIN_EVENT_TABLE* and END_EVENT_TABLE macros. 2010-06-09 14:28:08 +00:00
memconf.h
memory.h
memtext.h
menu.h Set popup menu invoking window in wxWindowBase and not in all ports. 2010-04-26 14:19:17 +00:00
menuitem.h
metafile.h
mimetype.h Add non-vararg wxFileTypeInfo ctor and various setters. 2010-10-01 13:05:42 +00:00
minifram.h
module.h
mousemanager.h
mousestate.h Add missing header required if wx/mousestate.h is included first. 2010-08-22 22:15:07 +00:00
msgdlg.h Allow using custom labels for wxGenericMessageDialog buttons. 2010-08-30 21:48:21 +00:00
msgout.h
msgqueue.h Added wxMessageQueue::Clear(). 2010-05-22 16:14:16 +00:00
mstream.h
nativewin.h
nonownedwnd.h
notebook.h
notifmsg.h
numdlg.h
object.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
odcombo.h Supress SetFocus() warning in wxVListBoxComboPopup 2010-05-09 10:29:48 +00:00
overlay.h
ownerdrw.h
palette.h
panel.h
paper.h
pen.h Add wx{Pen,Brush}::Is[Non]Transparent() methods and use them. 2010-10-15 23:46:46 +00:00
persist.h Optionally set the window name in wxPersistentRegisterAndRestore(). 2010-07-11 10:44:23 +00:00
pickerbase.h
platform.h Don't rely on __GXX_RTTI being defined with g++ < 4.3. 2010-04-16 12:44:30 +00:00
platinfo.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
popupwin.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
position.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
power.h
print.h
printdlg.h
prntbase.h Translate strings used in doc-view printing code. 2010-05-31 14:59:03 +00:00
process.h
progdlg.h Use task dialog for wxProgressDialog implementation in wxMSW. 2010-08-18 22:49:02 +00:00
propdlg.h
ptr_scpd.h
ptr_shrd.h
quantize.h
radiobox.h Include wx/defs.h before testing for wxUSE_RADIOBOX. 2010-09-29 13:45:51 +00:00
radiobut.h
rawbmp.h
rearrangectrl.h
recguard.h
regex.h
region.h
renderer.h
richmsgdlg.h Add wxRichMessageDialog class. 2010-08-18 22:48:41 +00:00
sashwin.h
sckaddr.h
sckipc.h
sckstrm.h
scopedarray.h
scopedptr.h Move wxScopedPtr::reset() implementation to wxDEFINE_SCOPED_PTR. 2010-05-06 05:43:01 +00:00
scopeguard.h Remove wxHAS_NAMESPACES and gcc 2.95 checks. 2010-02-12 22:47:21 +00:00
scrolbar.h
scrolwin.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
selstore.h
settings.h
setup_gccxml.h
setup_inc.h Merge wxUIActionSimulator fixes from SOC2010_GUI_TEST branch. 2010-08-22 22:15:42 +00:00
setup_redirect.h
sharedptr.h
sizer.h Rearrange functions order so that they are effectively inlined. 2010-02-28 11:09:02 +00:00
slider.h
snglinst.h
socket.h
sound.h
spinbutt.h
spinctrl.h
splash.h
splitter.h
srchctrl.h
sstream.h
stack.h
stackwalk.h fix couple of typos 2010-06-26 11:43:13 +00:00
statbmp.h
statbox.h
statline.h
stattext.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
statusbr.h
stdpaths.h Fix typo in wxStandardPathsBase::ResourceCat description and document it. 2010-09-27 11:51:50 +00:00
stdstream.h Only compile wxStd{Input,Output}Stream if wxUSE_STREAMS==1. 2010-07-12 22:50:51 +00:00
stockitem.h
stopwatch.h
strconv.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
stream.h
string.h Added "rest" argument to wxString::Before{First,Last}(). 2010-10-22 14:17:37 +00:00
stringimpl.h
stringops.h
strvararg.h Fix harmless unused parameter warnings in wxDEBUG_LEVEL==0 build. 2010-07-22 13:42:49 +00:00
sysopt.h
tarstrm.h
taskbar.h
tbarbase.h Respect wxUSE_MENUS in toolbar base classes 2010-07-08 17:35:04 +00:00
textbuf.h
textctrl.h wxRTC no longer derives from wxTextCtrlBase; added wxRichTextAttr deriving from wxTextAttr 2010-10-04 08:37:31 +00:00
textdlg.h
textentry.h Update the text hint display correctly when ChangeValue() is called. 2010-09-15 22:10:20 +00:00
textfile.h
textwrapper.h Make the main message of wxGenericMessageDialog stand out. 2010-08-19 15:41:18 +00:00
tglbtn.h Add wxHAS_BITMAPTOGGLEBUTTON and test for it in the unit test. 2010-10-01 13:05:36 +00:00
thread.h Added wxThread::OnKill() and OnDelete() callbacks. 2010-10-23 14:10:12 +00:00
thrimpl.cpp
timer.h
tipdlg.h
tipwin.h
tls.h Disable the use of __thread with MinGW. 2010-10-03 17:16:15 +00:00
tokenzr.h
toolbar.h
toolbook.h Implement wxBookCtrlBase::CalcSizeFromPage() in the base class. 2010-03-05 23:55:19 +00:00
tooltip.h
toplevel.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
tracker.h
translation.h Add wxTranslations::GetAvailableTranslations(). 2010-06-16 14:09:32 +00:00
treebase.h
treebook.h Implement wxBookCtrlBase::CalcSizeFromPage() in the base class. 2010-03-05 23:55:19 +00:00
treectrl.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros. 2010-06-09 13:55:48 +00:00
txtstrm.h
typeinfo.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
types.h
uiaction.h Explicitly send events for modifier keys in wxUIActionSimulator. 2010-09-11 10:18:15 +00:00
unichar.h
uri.h
url.h Committing modified version of jwiesemann's patch (see #11223): 2010-03-30 21:38:31 +00:00
ustring.h
utils.h Add support for specifying child process cwd and env to wxExecute(). 2010-10-24 22:40:11 +00:00
valgen.h
validate.h
valtext.h
variant.h Added wxVariant::Convert() implementations for wx(U)LongLong_t, so that wxVariant can be converted to native 64-bit integer types on the same terms as it is converted to other numeric types (useful in e.g. template functions) 2010-07-25 09:30:50 +00:00
vector.h Use template class instead of template function in wxVectorSort(). 2010-04-11 17:38:01 +00:00
version.h Replace 2.9.1 version with 2.9.2. 2010-07-22 12:09:04 +00:00
vidmode.h
vlbox.h
vms_x_fix.h
volume.h
vscroll.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
weakref.h Fix using weak references to incomplete classes. 2010-04-15 22:47:37 +00:00
wfstream.h
window.h Add default value for GetPopupMenuSelectionFromUser() position argument. 2010-09-30 14:33:53 +00:00
windowid.h
wizard.h
wrapsizer.h
wupdlock.h
wx_cw_cm.h
wx_cw_d.h
wx_cw.h
wx_cwc_d.h
wx_cwc.h
wx_cwcocoa_cm.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
wx_cwcocoa_d.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
wx_cwcocoa.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
wx_cwu_d.h
wx.h
wxchar.h
wxcrt.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
wxcrtbase.h build fix for IRIX 2010-03-29 06:45:00 +00:00
wxcrtvararg.h
wxhtml.h
wxprec.h
wxshlb_cw_d.h
wxshlb_cw.h
wxshlb_cwc_d.h
wxshlb_cwc.h
wxshlba_cw_d.h
wxshlba_cw.h
wxshlba_cwc_d.h
wxshlba_cwc.h
xlocale.h Define wxStrto{d,l,ul}_l() functions in non-Unicode build too. 2010-04-22 14:16:12 +00:00
xpmdecod.h
xpmhand.h
xti.h
xtistrm.h
xtixml.h
zipstrm.h
zstream.h