Chaobin, Zhang
1c5b9c059f
Add doxygen docs of wxTaskBarButton.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 09:19:58 +00:00
Chaobin, Zhang
5505aa80fe
Coding style fix.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 09:16:49 +00:00
Chaobin, Zhang
c17570e8e2
Move wxTaskBarButton into core library.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 09:15:07 +00:00
Chaobin, Zhang
b1971e614c
Fix mingw build error of ITaskbarList3.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 09:11:53 +00:00
Chaobin, Zhang
c27103f8e1
Work around the limitation of windows API when setting thumbnail toolbar buttons.
...
- New API: InsertThumbBarButton, AppendThumbBarButton, RemoveThumbBarButton.
- Though MSDN said that "Buttons cannot be added or deleted later, so this must
be the full defined set. Buttons also cannot be reordered.", we can work
around it by: when first time adding button, initialize all of the possible
seven buttons and hide them, except the button adding. In the next time adding
button, just show it, which can make it looks like it is added on the fly.
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 09:09:29 +00:00
Chaobin, Zhang
4b517d32cd
Nit: fix code style.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 09:06:35 +00:00
Chaobin, Zhang
2525b1988e
Revise progress releted API to be more usual.
...
- Add PulseProgress
- Add SetProgressRange, instead of hard coding 100.
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 09:03:53 +00:00
Chaobin, Zhang
95c8ad1012
Revise Show/Hide, for consistency with the other classes.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 09:01:39 +00:00
Chaobin, Zhang
8f3fe516ba
API: SetThumbnailContents, for setting thumbnail contents with child window.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:59:12 +00:00
Chaobin, Zhang
4318edc865
Expose setting description of overlay icon for accessibility.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:56:50 +00:00
Chaobin, Zhang
09ccad0b65
Only register window message "TaskbarButtonCreated" when the first frame is created.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:54:07 +00:00
Chaobin, Zhang
156599ce56
Move taskbar button from wxTopLevelWindowMSW to wxFrame.
...
Since there are two sub-classes of wxTopLevelWindowMSW: one is wxFrame, the
other is wxDialog. However, wxDialog have no button shown in taskbar on
windows, so the taskbar button feature should be only avaiable in wxFrame.
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:51:01 +00:00
Chaobin, Zhang
844cdba9d9
APIs for adding a thumbnail toolbar with a specified set of buttons.
...
- AddThumbBarButton(wxThumbBarButton *button), ShowThumbnailToolbar().
- Add THBN_CLICKED message handler to top level window and generate a
wxCommandEvent event.
- Sample.
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:47:54 +00:00
Chaobin, Zhang
b8390123e6
APIs to support setting overlay icon, tooltip, thumbnail clip, progress state.
...
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:43:38 +00:00
Chaobin, Zhang
3de2241fa7
API for change the visibility of button in the taskbar.
...
- ShowInTaskbar and HideInTaskbar
- Sample of usage.
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:40:39 +00:00
Chaobin, Zhang
1fa04989f3
Introduce skeleton of taskbar button feature.
...
- Add classes: wxTaskBarButton and wxTaskBarButtonImpl.
- New interface in wxTopLevelWindowMSW to get its wxTaskBarButton:
MSWGetTaskBarButton.
- A simple sample and build files under msvc.
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:37:43 +00:00
Chaobin, Zhang
ed47c030cd
Register message "TaskbarButtonCreated" when wxTopLevelWindowMSW is created.
...
This message is used to make sure the taskbar button is in place, so
wxTaskbarButton object can initialize correctly.
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:34:36 +00:00
Chaobin, Zhang
559ccd703d
Add wxUSE_TASKBARBUTTON under MSW port.
...
Taskbar button features are only available under MSW port.
Author: Chaobin Zhang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 08:30:57 +00:00
Stefan Csomor
d00d130ebd
picking the selected font before closing the panel, fixes #16538
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 07:17:31 +00:00
Bryan Petty
3ade92601d
Rebaked D2D additions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-10 05:54:33 +00:00
Stefan Csomor
bba268b379
fixing initialization order, fixes #16542
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-09 13:53:28 +00:00
Stefan Csomor
fd36509e51
fixing implicit narrowing conversions, silencing ICC warnings, fixes #16542
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-09 09:58:39 +00:00
Stefan Csomor
529a487877
rebaked, d2d addition
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-09 07:42:35 +00:00
Stefan Csomor
4696bae7ac
added d2d
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-08 14:13:05 +00:00
Stefan Csomor
9be91c8d67
added d2d
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-08 14:12:04 +00:00
Stefan Csomor
a87501b4f2
added d2d
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-08 14:10:54 +00:00
Stefan Csomor
5109fbc24b
added d2d
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-08 14:10:38 +00:00
Stefan Csomor
1edef6dc68
added d2d
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-08 14:09:56 +00:00
Julian Smart
4dd04d475e
Removed commented out window variant lines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-08 07:51:42 +00:00
Julian Smart
ed8d062426
Use the small variant for help contents etc. since normal is a little outsized for this on Mac.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-07 18:26:43 +00:00
Julian Smart
e98a9cb43b
Make the selected item visible, to match behaviour on other platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-07 17:33:53 +00:00
Stefan Csomor
0c69d619dc
direct2d GSOC2014 add addtional file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-06 14:59:53 +00:00
Vadim Zeitlin
f9f31662a7
Use bool constants instead of BOOL ones in wxBitmapComboBox code.
...
Just s/TRUE/true/
See #14279 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-05 21:55:21 +00:00
Vadim Zeitlin
45e216bfe5
Fix empty wxBitmapComboBox height under wxMSW.
...
Make (initially) empty wxBitmapComboBox as high as a normal wxComboBox instead
of making it visibly shorter.
Closes #14279 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-05 21:55:17 +00:00
Vadim Zeitlin
46a414097b
Always disable "Back" wxWizard button for the starting page.
...
Do it even if the start page has a previous page (e.g. because the wizard has
been started in the middle for some reason).
Closes #16535 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-05 12:46:38 +00:00
Vadim Zeitlin
6fa258860e
Fix wxOSX build with < 10.9 SDK after r77511.
...
We need to guard the use of 10.9+ symbols such as NSActivityOptions at
compile-time too and not only at run-time.
See #16413 , closes #16529 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-05 12:42:22 +00:00
Vadim Zeitlin
1c0c0adaea
Fix restoring locale in wxCmdLineParser::SetArguments().
...
We need to call setlocale(NULL) to query the current locale, setlocale("")
returns the newly set locale and not the original one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-05 00:37:17 +00:00
Vadim Zeitlin
01346c364c
wxGTK PCH-less compilation build fix after r77537.
...
Add the required #include.
See #15699 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 20:06:05 +00:00
Vadim Zeitlin
14d9429e88
Add default values for wxRichMessageDialog ctor arguments.
...
Both "caption" and "style" arguments were documented as having default values,
but didn't really have them. Fix this by actually adding them.
Closes #16524 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 19:45:08 +00:00
Vadim Zeitlin
11bcefe243
Don't say that 15+ year old wxDateTime is relatively new.
...
Update the description of wxUSE_DATETIME in various setup.h files for the 21st
century.
Closes #16523 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 19:45:03 +00:00
Vadim Zeitlin
da82a44080
Deprecate wxBitmap assignment operator from wxCursor in wxMSW.
...
This assignment operator is not portable and a better alternative is available
now with the addition of the wxBitmap ctor from wxCursor in the previous
commit.
See #15699 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 19:44:57 +00:00
Vadim Zeitlin
118e8e7286
Add wxBitmap ctor from wxCursor to wxGTK and wxMSW.
...
Allow converting wxCursor to wxBitmap in order to draw it, for example.
Closes #15699 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 19:44:52 +00:00
Vadim Zeitlin
23e431f0b6
Test for __MINGW64_TOOLCHAIN__ and not __MINGW64__ in wx/filefn.h.
...
MinGW-w64 headers are the same in 32 and 64 bit cases, so test for these
headers presence with __MINGW64_TOOLCHAIN__ and not for 64 bit build with
__MINGW64__, which should probably not be used anywhere at all.
This fixes problems with wx{Rm,Mk}dir() definitions with MinGW-w64 in
non-Unicode build.
Closes #16362 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 19:44:46 +00:00
Vadim Zeitlin
2d37ca3cb0
Move __MINGW64_TOOLCHAIN__ definition to wx/msw/gccpriv.h.
...
__MINGW64_VERSION_MAJOR is defined only in _mingw.h, so it was never defined
in wx/compiler.h, included before any other headers and we can't include
_mingw.h for the same reason we must define wxCHECK_MINGW32_VERSION() in
wx/msw/gccpriv.h: this has to be done after defining UNICODE/_UNICODE, but
wx/compiler.h is included before this.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 16:02:01 +00:00
Vadim Zeitlin
7664215648
Fix harmless unused parameter warnings.
...
Wrap parameter in WXUNUSED() in the power resource stub functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 12:36:19 +00:00
Vadim Zeitlin
34e87060c8
Add wxDIRCTRL_DEFAULT_STYLE for consistency with other classes.
...
This is, by definition, the style used as default value for the style argument
of wxDirCtrl::Create().
Closes #16525 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-04 12:36:14 +00:00
Vadim Zeitlin
46a4234643
Compilation fix for wxUSE_STD_STRING==0 build.
...
Add missing check for wxUSE_STD_STRING to fix the build with it set to 0 after
the changes of r77518.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-03 14:23:38 +00:00
Vadim Zeitlin
c87bf1a2a1
Mention that wxDialog::SetEscapeId() can't be used for native dialogs.
...
Native dialogs handling of Esc can't be customized (definitely not easily,
and possibly not at all).
See #16521 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-03 11:21:08 +00:00
Vadim Zeitlin
dac14d96c5
Remove recursive "see also" link from GetAppDocumentsDir() docs.
...
This was probably supposed to be "@see GetDocumentsDir()", but as this
function is already mentioned, and auto-linked by Doxygen, just above, another
link to it is unnecessary, so remove it.
Closes #16520 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-03 11:21:04 +00:00
Vadim Zeitlin
1a06dc33e7
Include wx/variant.h from wx/msw/ole/oleutils.h.
...
This ensures that this header is self-contained and can be included without
including wx/variant.h first.
Closes #16522 .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@77523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-09-03 11:20:59 +00:00