Commit Graph

1291 Commits

Author SHA1 Message Date
Robin Dunn
7a5a571859 Initial/Best size fixes for wxRadioBox, wxSlider and wxStaticText on wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-03 23:08:55 +00:00
Mattia Barbon
961dd75341 Added missing NO_GCC_PRAGMA check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-02 08:06:45 +00:00
Mattia Barbon
0c05fdf357 MSVC 5 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-01 17:03:19 +00:00
Dimitri Schoolwerth
015c495184 changed hand cursor to look like Windows' hand cursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-29 20:28:49 +00:00
Václav Slavík
477a623837 removed wxGzipStreams (supported by wxZlibStreams now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-25 08:55:57 +00:00
Václav Slavík
f2aa588ba5 applied patch 939076: __SMARTPHONE__ define
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 21:03:02 +00:00
Vadim Zeitlin
f46f4c86b2 fixed recent modeless dialog breakage caused by removing wxDIALOG_MODAL (wxModelessWindows list doesn't exist any more; wxDialog::SetModal() and IsModalShowing() deperecated)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-21 12:45:16 +00:00
Julian Smart
960b193e59 Don't use wxUSE_POCKETPC_UI, determine appropriate UI from
SDK defines.
Now creates menubar at bottom of window for PPC.
Window uses default position and size in PPC.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 22:17:24 +00:00
Julian Smart
5614d24d40 Compile fix for eVC++ 4 with PocketPC 2003
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 18:52:01 +00:00
Chris Elliott
db60d56c59 SF patch #938489
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-20 13:34:49 +00:00
Robin Dunn
7bdfb981a8 Fix or add some DoGetBestSize's
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-17 02:00:24 +00:00
Vadim Zeitlin
08848c9f95 define _puttchar for mingw32 as it doesn't have it (patch 875611)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 22:34:19 +00:00
Václav Slavík
af51080d14 commdlg.lib is not in evc3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-15 20:12:59 +00:00
Vadim Zeitlin
2fce94e20c define WS_XXX constants missing in (some) CE SDKs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-13 12:25:56 +00:00
Václav Slavík
9b58bfecd8 aygshell is available on PocketPC and sometimes needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-12 21:00:42 +00:00
Václav Slavík
eddb325043 added wx/msw/wince/libraries.h to workaround SDK differences problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-11 15:14:50 +00:00
Dimitri Schoolwerth
caafd0821d implemented a simple DoGetBestSize() for MSW's wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-09 15:16:46 +00:00
Vadim Zeitlin
fbaddf4482 we can now use png/jpeg/gif
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-08 12:11:37 +00:00
Robin Dunn
9d17ee60a5 Put back wxMSW's wxStaticBitmap::DoGetBestSize because GetBitmap (used
in base DoGBS) is not able to be called until the control is fully
constructed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 22:41:34 +00:00
Robin Dunn
b3fcfa4d89 wxStaticBitmapBase::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-07 21:47:04 +00:00
Vadim Zeitlin
b39ba2c2ee use wxUnusedVar() to suppress warnings about unused variable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-05 10:51:49 +00:00
Vadim Zeitlin
2a47cb1ba2 don't define SetShape() for Windows CE; use wxTLWBase::GetDefaultSize() to avoid creating too big windows under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 17:27:31 +00:00
Vadim Zeitlin
2aaf17c223 GlobalLock/Unlock() are available under CE, no need to redefine them, it is already done in eVC 4 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:02:56 +00:00
Vadim Zeitlin
14d3c9f7b4 include headers normally included from windows.h and shellapi.h under Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:02:12 +00:00
Vadim Zeitlin
f153c2b611 suppressed unused param warning under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:18 +00:00
Vadim Zeitlin
fb86251bff do #undef CreateDialog() under CE, what was the reason for not doing it?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:01:00 +00:00
Vadim Zeitlin
fe5c9b3eaf include wince/missing.h under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 13:00:34 +00:00
Vadim Zeitlin
524b59ff2e removed tons of unused stuff apparently copied verbatim from MS headers (argh!!); added bsearch()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:59:29 +00:00
Vadim Zeitlin
be69f971c4 enable wxDIB for Windows CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-04 12:57:36 +00:00
Václav Slavík
f20275d9c5 WinCE compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-03 19:03:08 +00:00
Václav Slavík
0c2d809a72 WinCE SDK doesn't have crtdbg.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 19:51:18 +00:00
Vadim Zeitlin
7a69cd967a use MSWCreateControl() instead of the old mess; implemented Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:15:07 +00:00
Vadim Zeitlin
39c7a53c9b implemented Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:14:42 +00:00
Vadim Zeitlin
553c5bcc3a added wxGetCCDefaultFont() returning the default icon font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:09:48 +00:00
Vadim Zeitlin
34040e3126 default implementation of Get(Class)DefaultAttributes()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 00:07:32 +00:00
Vadim Zeitlin
6046e57acc implemented wxApp::OnExceptionInMainLoop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-30 20:50:59 +00:00
Julian Smart
8155488b31 Wince fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-29 08:12:04 +00:00
Vadim Zeitlin
3a5bcc4db0 removed Win16 code (patch 905241), last version with remains of Win16 support tagged with BEFORE_WIN16_REMOVAL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-28 13:10:14 +00:00
Václav Slavík
dda36afd4a fixed warnings about unneeded arguments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-24 20:12:14 +00:00
Václav Slavík
1e6d9c20fd unified wxTaskBarIcon behaviour: wxMSW version is not removed automatically when all frames are closed, it must be destroyed explicitly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-23 23:20:16 +00:00
Vadim Zeitlin
cbc8c6ee97 moved wxWinHandleHash below wxWindow declaration as otherwise the dtor of forward declared wxWindow is not called inside WX_DECLARE_HASH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-22 18:06:23 +00:00
Vadim Zeitlin
ff79234425 distinguish between main keyboard and numeric enter keys (fixes 902095)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-21 23:13:50 +00:00
Vadim Zeitlin
9a63feff3a added wxSetCCUnicodeFormat() and use it in wxTreeCtrl/wxToolBar; also replaced SendMessage(LVM_SETUNICODEFORMAT) with a call to it in wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-20 12:39:04 +00:00
Robin Dunn
c046274e38 implment wxBitmapButton::DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-16 21:58:53 +00:00
Václav Slavík
bd5e3a811e docs correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-09 22:30:08 +00:00
Robin Dunn
cc0bffaceb Changed CanApplyParentThemeBackground to ApplyParentThemeBackground
and let the windows set the the background colour themselves (or not)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 05:28:21 +00:00
Robin Dunn
bd507486e0 Added CanApplyParentThemeBackground and use it in wxMSW's
wxNotebook::ApplyThemeBackground.  It's in the common base classes so
that someday it's usage can expand to the other platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-04 17:03:55 +00:00
Vadim Zeitlin
fa2d17ac25 use global file/regkey by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:04:04 +00:00
Vadim Zeitlin
bee96abfbc added AccessMode parameter to wxRegKey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:01:05 +00:00
Vadim Zeitlin
a1037371af wxWindow::Freeze()/Thaw() can now be nested
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-02 18:15:00 +00:00