Commit Graph

6710 Commits

Author SHA1 Message Date
Włodzimierz Skiba
02b7b6b072 Source cleaning: whitespaces, -1/wxDefaultCoord, TRUE/true, FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 12:03:08 +00:00
Dimitri Schoolwerth
98bdbbe31b removed stray comma at end of enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-20 10:05:47 +00:00
Włodzimierz Skiba
fcf90ee1b1 Source cleaning: whitespaces,-1/wxID_ANY,TRUE/true,FALSE/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-19 17:39:28 +00:00
Václav Slavík
b4d3bed80a gcc-3.4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-19 13:22:21 +00:00
Václav Slavík
853bbd9e35 wxUniv compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 22:27:42 +00:00
Dimitri Schoolwerth
6bc3b8e968 fixes for CW8 Mac Classic compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 15:37:01 +00:00
Włodzimierz Skiba
77c46f00b5 Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-18 09:22:14 +00:00
Włodzimierz Skiba
0a0e6a5baf TRUE/true, FALSE/false, whitespace cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:45:46 +00:00
Václav Slavík
ff5ad79411 added wxImage::ConvertAlphaToMask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 12:31:08 +00:00
David Elliott
fe942d6f1d Change from IsOK to IsOk to match everything else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 02:41:52 +00:00
David Elliott
b9974b8417 Use variable name winid instead of id. id is a typedef in Objective-C headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-16 02:35:25 +00:00
Václav Slavík
401e3b6e5f added stock buttons support
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 15:56:56 +00:00
Václav Slavík
718e35a651 gtk notebook page style fixes (patch 984864)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-15 07:51:56 +00:00
Robin Dunn
e155ca47f5 Version number bump
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-14 00:20:36 +00:00
Vadim Zeitlin
0f0b19d646 use wxDD_DEFAULT_STYLE instead of 0 by default for style parameter of wxDirDialog ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-13 23:56:57 +00:00
Václav Slavík
7a47e45ecc explained how the signature works
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 20:09:14 +00:00
Robin Dunn
8ae4f08661 Set minsize and implement DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-11 18:11:30 +00:00
Robin Dunn
88baf2e342 updated wxSUBRELEASE_NUMBER to match wxPython release cantidate build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 22:54:24 +00:00
Włodzimierz Skiba
a290fa5a7d Cleaning of sources (Univ related files). -1/TRUE/FALSE/wxIDY_ANY/wxDefaultCoord/whitespaces/!! issues.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 13:08:43 +00:00
Włodzimierz Skiba
981a627100 Reverted Borland subversion recognizion due to binary compatibility issue.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 06:24:00 +00:00
Robin Dunn
b6a20a20d0 Give wxListBox a GetClassDefaultAttributes so wxCalendarCtrl (and
others) can use the right set of attributes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 04:07:32 +00:00
David Elliott
91a40e94b9 Remove some cruft
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-10 03:07:37 +00:00
Włodzimierz Skiba
340e97388e Precise Borland C++ and DMC compiler description.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 17:21:04 +00:00
Włodzimierz Skiba
1bfb7cc63f wxUSE_IOSTREAMH always 0 for MinGW (finally closed patch #910058)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 13:08:56 +00:00
Włodzimierz Skiba
8e254d94e2 wxUSE_GENERIC_DIALOGS_IN_MSW removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-09 07:44:37 +00:00
David Elliott
948c96efa1 Use bool instead of int. Replace TRUE/FALSE with true/false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 05:30:36 +00:00
David Elliott
3e1400ac6a Removed incorrect struct qualifier from GSocketGUIFunctionsTable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-08 04:48:33 +00:00
Mattia Barbon
14baddc9b8 Unhide function from superclass.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 21:24:02 +00:00
Stefan Csomor
18274a5192 forward declaration for combobox members
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-07 05:18:35 +00:00
David Elliott
d6d6a882d4 Get rid of inline C compatibility methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 22:30:51 +00:00
David Elliott
57b1deb3e9 Use native C++ GSocket interface
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 22:14:59 +00:00
David Elliott
e27c99c750 Get rid of wxUSE_GSOCKET_CPLUSPLUS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 20:56:47 +00:00
David Elliott
cdf507928e OS/2 now uses C++ gsocket.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:22:15 +00:00
David Elliott
795eb93274 include wx/mac/gsockmac.h when compiling wxMac CFM
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:11:09 +00:00
David Elliott
c5602b4a8d wxMac GSocket C -> C++
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 19:04:33 +00:00
Dimitri Schoolwerth
c21af6e525 made code slightly more readable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 16:28:20 +00:00
Dimitri Schoolwerth
16abe93eb4 fixed MSVC6 compiler warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-06 13:23:35 +00:00
Robin Dunn
7acd36259b Added NormalizeFontSizes which will set the html font sizes based on
the size of a system font.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 23:59:44 +00:00
Włodzimierz Skiba
4bf45c9eca Peparation for native Smartphone controls based on Spinners.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-05 16:52:13 +00:00
Włodzimierz Skiba
045c57efc3 Missed defs.h inclusion.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 07:03:53 +00:00
David Elliott
83a9be3427 Use new C++ sockets for everything except OS/2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-04 03:22:44 +00:00
David Elliott
ba2a81d747 Revert original UNIX C->C++ conversion and instead make it work exactly
like the new MSW C++ GSocket.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 19:18:39 +00:00
Włodzimierz Skiba
dcbbda5451 Smartphone fix due to separated implementation of wxFileDialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 06:58:37 +00:00
David Elliott
a45068485c * Made GSocket::GetError() exp/imp from net library and provide an inline
compatibility function.
* Provide a Null gs_gui_functions implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 04:14:42 +00:00
David Elliott
4b4d23c77e Prepare headers for C->C++ migration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-08-03 03:33:36 +00:00
Robin Dunn
e1688485fd Avoid warnings in the DLL builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 21:05:38 +00:00
Dimitri Schoolwerth
4b430ee141 applied patch #997019: '[wxMac] updated wxSound', adds static IsPlaying() and Stop()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 07:36:13 +00:00
Robin Dunn
eaca2a2cfc Fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-31 04:39:49 +00:00
Vadim Zeitlin
acb69c1342 invalidate m_selection in DoRemovePage(), not in DeletePage() (replaces patch 998984)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 23:38:36 +00:00
Vadim Zeitlin
3754265e32 switched to wxEventLoopBase/wxEventLoop implementation (instead of m_impl based one) for wxMSW; minimal changes for the other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 22:54:31 +00:00
Vadim Zeitlin
2cc1424ded define WXMSG same as Win32 MSG instead of untyped pointer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 22:51:46 +00:00
Włodzimierz Skiba
97e4cf6da5 Additional configuration check.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-30 19:23:25 +00:00
David Elliott
79099b80ad wxWindowMSW::OnInitDialog is only implemented for WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 19:34:19 +00:00
Vadim Zeitlin
7802e5d0b2 fixed subrelease test in wxCHECK_VERSION_FULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 14:22:11 +00:00
Julian Smart
d26e1ab206 Worked around static box opaqueness problem on WinCE by setting the
z-order in OnInitDialog


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-28 09:34:25 +00:00
Włodzimierz Skiba
41b8fe99b4 Missing DMC OFN_* values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 18:04:01 +00:00
Stefan Csomor
564cb9de61 region from polygon added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 11:28:20 +00:00
David Elliott
b082b52407 Incorporated src/unix/gsocket.c 1.86 to 1.92 changes (except 1.90 to 1.91
which was applied by Vadim as 1.9 to 1.10 of src/unix/gsocket.cpp)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-27 02:15:32 +00:00
Vadim Zeitlin
17d3ce7eff removed GSocket_[Un]Streamed(), GSocket_SetNonOriented() must be used instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:35:32 +00:00
Vadim Zeitlin
f7aa747716 removed _GSocket::m_oriented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 21:33:54 +00:00
Julian Smart
7649d8fc00 Stub out SetToolTip to avoid massive ifdefing when encountering
a platform that doesn't support them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-26 20:16:19 +00:00
Vadim Zeitlin
b8033a5ddc replace wxHashTable with a type safe hash map of Window to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 23:09:33 +00:00
Vadim Zeitlin
fe8604acce insert now returns pair<iterator, bool>, as for the standard map
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 23:05:28 +00:00
Vadim Zeitlin
e5aa044ba4 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 20:13:23 +00:00
Vadim Zeitlin
bb0926cc00 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:26:13 +00:00
Vadim Zeitlin
7c9955536a use wxWindowDisabler instead of ShowModal() for showing the print preview frame (patch 832288)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:09:30 +00:00
Vadim Zeitlin
74c481d117 replaced my recent GSocket_SetReuseAddr() addition with GSocket_SetReusable() from the patch 992473; it also adds and documents wxSOCKET_REUSEADDR flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 17:06:01 +00:00
Vadim Zeitlin
0b11099dd6 implemented moving the dialog (patch 996448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:56:00 +00:00
Vadim Zeitlin
0afb585238 don't define _CRTDBG_MAP_ALLOC as it is apparently unnecessary (patch 995135)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:47:33 +00:00
Vadim Zeitlin
372c511b70 don't include wx/wxprec.h from the headers (patch 993136)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:44:47 +00:00
Vadim Zeitlin
282d1e47f9 dc.h shouldn't include itself (patch 992933)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:39:07 +00:00
Dimitri Schoolwerth
749bb9f129 added shortcut functions AddSpacer and AddStretchSpacer (plus Prepend and Insert variants)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:37:48 +00:00
Vadim Zeitlin
db4c39a9e8 fixed header include guard position (patch 992443)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:36:51 +00:00
Vadim Zeitlin
c328d0ad10 update the caret bitmap size in EVT_SIZE (patch 990361)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:32:24 +00:00
Vadim Zeitlin
c2919ab326 added status bar fields styles support (patch 988292)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 16:13:52 +00:00
Vadim Zeitlin
00e092707b fixed wxList copy ctor (patch 985473)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:59:23 +00:00
Vadim Zeitlin
69936aea19 added DoCreate/Load/SaveDocument() (patches 983570 and 983571)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:42:11 +00:00
Vadim Zeitlin
c48908df67 added GetHeaderValue() (patch 974427)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 15:30:42 +00:00
Vadim Zeitlin
f1e7793361 added and documented SplitVolume() and GetPathTerminators(); corrected SetPath() to treat the volume part properly (patch 970580)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 13:59:47 +00:00
Vadim Zeitlin
7df69621d9 don't set SO_REUSEADDR by default; added GSocket_SetReuseAddr()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:40:10 +00:00
Vadim Zeitlin
a494b2bc2c added IsFrozen() (part of patch 925808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 12:30:08 +00:00
Vadim Zeitlin
d5cd19b45c wxGTK/Cygwin fix (patch 914565)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:34:37 +00:00
Vadim Zeitlin
77a806722a use Unix path separators under Cygwin
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:33:34 +00:00
Vadim Zeitlin
bfa7bf7d6b basic UDP support (patch 835128)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-25 11:16:31 +00:00
Vadim Zeitlin
3b830ce00d unhide the other HitTest() overload
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:52:22 +00:00
Robin Dunn
4aae4a085c Fix for unhiding the other version of the base class HitTest
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 20:26:25 +00:00
Vadim Zeitlin
c04ec49657 fixed inserting styled text into an empty control under GTK+ 2.0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 19:59:00 +00:00
Vadim Zeitlin
7ff64980aa don't modify all wxBitmaps sharing the same wxBitmapRefData when SetMask() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:52:18 +00:00
Vadim Zeitlin
6726a6b097 implement HitTest(pos) variant and not HitTest(x, y) one as this is what Windows gives us
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:43:32 +00:00
Vadim Zeitlin
692c9b8696 implemented HitTest() for GTK2; test it in the sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 18:07:40 +00:00
Vadim Zeitlin
4b7ded8bad compilation fix for gcc (closes bug 996701)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 17:49:51 +00:00
Robin Dunn
7ef05b886f Changed to match wxPython's current subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 15:41:32 +00:00
Vadim Zeitlin
eeade4ccca added wxSUBRELEAS_NUMBER and macro to check for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 10:38:25 +00:00
Włodzimierz Skiba
42bbdbff31 wxUSE_BUTTONBAR removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-23 09:21:07 +00:00
Mattia Barbon
4e75b65f7c Added compatibility functions for wxUSE_STL = 1:
void wxArrayString::Sort(CompareFunction function)
void wxArrayString::Sort(bool reverseOrder).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 19:08:21 +00:00
Vadim Zeitlin
dd779a9e66 added wxDIB(HBITMAP) ctor and corresponding Create(); made GetData() return uchar * and not void *
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:43:57 +00:00
Václav Slavík
0ca3b64f14 use sizers instead of constraints in wxProgressDialog (patch 980364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 10:15:36 +00:00
Václav Slavík
f53b1c1e6f removed enum that was causing more problems than it was worth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 07:49:29 +00:00
Stefan Csomor
625d14abfa ryan's QT implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 18:20:18 +00:00
Vadim Zeitlin
23afe648ce implemented wxNativeFontInfo::operator=() when wxUSE_PANGO, this fixes crashes when wxFont::SetNativeFontInfo() is used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 17:00:13 +00:00
Stefan Csomor
2fa2b08e04 first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 09:51:52 +00:00
Vadim Zeitlin
45515b6685 don't suppose that all 32bpp DIBs have alpha, this is not true, the extra byte may be just padding
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 23:45:28 +00:00
Vadim Zeitlin
989a242196 AddFile(wxImage&) -> AddFile(const wxImage&)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 21:59:43 +00:00
Robin Dunn
fe5ddd9250 DoPrepareDC needs the dc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 18:13:12 +00:00
Stefan Csomor
7ea087b721 background handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:40:49 +00:00
Vadim Zeitlin
5de9f492ec added DoPrepareDC()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 16:30:22 +00:00
Włodzimierz Skiba
422d0ff0be wxDefaultSize.* and wxDefaultPosition.* to wxDefaultCoord.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 10:09:47 +00:00
Stefan Csomor
1674c73a43 avoid unimplemented wx stubs being used
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-20 09:16:01 +00:00
Włodzimierz Skiba
67a9999283 Fixes for wxUSE_STATUSBAR.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-19 09:39:38 +00:00
Václav Slavík
73a7e9399f HAVE_XIM is disabled in GTK2 build, don't include useless member variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-18 17:11:02 +00:00
Robin Dunn
dc5960727c Use DeafultAttributes instead of hard coded defaults
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-17 23:22:26 +00:00
Václav Slavík
648db587c4 added wxXRC_NO_RELOADING
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 22:01:47 +00:00
Václav Slavík
5d3f80bec3 made SelectionToText and ToText public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 19:35:06 +00:00
Václav Slavík
977b867e72 added wxHtmlWindow::ToText
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 17:19:17 +00:00
Vadim Zeitlin
051aa330fe fixed fatal bug in wxString ctor from wxCharBuffer when wxUSE_STL==1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28260 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 17:17:51 +00:00
Roger Gammans
9b386ecadb * add documentation for wxMemoryBuffer
* add suport for values of type REG_BINARY in the msw registry.

   Such values are converted to wxMemoryBuffer for internal handling


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-16 13:09:52 +00:00
Václav Slavík
446e5259d7 DLL export fixes (patch 991760)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 20:51:44 +00:00
Václav Slavík
6b91e25247 fixed dllexports: wxClientData is now in wxBase, not wxCore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 16:24:24 +00:00
Włodzimierz Skiba
9905656a35 More broken compilers with enum/wxString& ambiguity.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-15 06:16:45 +00:00
Stefan Csomor
5ac2e80ca2 making getter const
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-14 16:33:17 +00:00
Stefan Csomor
5eee8dcf5d adding correct events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-13 18:32:22 +00:00
Václav Slavík
341050e227 oops, reverted clntdata.h change, it _is_ needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:49:30 +00:00
Václav Slavík
27dadec122 clntdata.h is needed only if wxUSE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 21:41:12 +00:00
Stefan Csomor
5ca0d8122a further separating implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-11 16:19:18 +00:00
Vadim Zeitlin
f2de9fee23 added wxNavigationKeyEvent::IsBackward to be able to call wxWindow::Navigate(IsBackward) and not only Navigate(IsForward)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-09 10:42:14 +00:00
Dimitri Schoolwerth
04e539f5d1 use slashes in #include, not backslashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-05 13:53:48 +00:00
Vadim Zeitlin
87b6002d7c typo/spelling fixes (patch 983448)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-04 11:19:47 +00:00
Václav Slavík
7545e13206 a better way of applying style changes to label_widget
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 16:58:10 +00:00
Robert Roebling
e37168448f Not sure how important that is, but now you
can set the font of a static box.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 16:28:22 +00:00
Stefan Csomor
0fc3bc3b26 going on with wxMacControl functionality
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:51:18 +00:00
Robin Dunn
37144cf0f1 Invalidate notebook best size when pages are added or removed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 15:49:29 +00:00
Václav Slavík
a589495eeb implemented tab order in wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 11:16:03 +00:00
Václav Slavík
e74c05294a m_queuedFullRedraw is not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-03 10:02:05 +00:00
Václav Slavík
fdf7514a00 fixed memory leak in wxNativeFontInfo when using Pango
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 20:54:12 +00:00
Stefan Csomor
2837271a5b moving implementation out of class declaration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-02 12:03:17 +00:00
Vadim Zeitlin
4e0f1c33cc fix wxTolower/upper() behaviour with signed chars > 0x7f with VC++ 6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28139 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 22:52:39 +00:00
Vadim Zeitlin
08873d362b added wxMilli/MicroSleep(), deprecated wxUsleep()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 12:15:00 +00:00
Vadim Zeitlin
a24de76b33 added and documented wxWindow::MoveBefore/AfterInTabOrder()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:44:37 +00:00
Vadim Zeitlin
eeb9e3d08f removed spurious semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 11:43:01 +00:00
Vadim Zeitlin
a2bd152089 added and documented wxKey/MouseEvent::CmdDown()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-01 00:04:48 +00:00
Robin Dunn
ab473127c6 Layout fixes due to measuring with the wrong font. Also added
GetDefaultAttributes and switched everything to use GetXXX instead of
m_XXX.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 21:49:17 +00:00
Václav Slavík
fa47d7a7ad SetDefaultXXX -> SetOwnXXX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 17:12:03 +00:00
Vadim Zeitlin
2ff56383e6 added WindowHDC similar to Screen/MemoryHDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:44:11 +00:00
Vadim Zeitlin
9817a08533 fix VC++ warning about redeclaring wxHtmlHelpMergedIndexItem class as struct in .cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 15:35:14 +00:00
Václav Slavík
f8ff87ed6d decoupled attributes inheritance and m_hasXXX flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 13:05:20 +00:00
Václav Slavík
caea1cb795 made GetEntitiesParser public, it's useful for some tag handlers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-30 10:22:23 +00:00
Václav Slavík
0830027775 implemented nested index entries and index entries pointing to multiple documents in wxHtmlHelpController; modified wxHtmlHelpData API to make it possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 07:16:51 +00:00
Robin Dunn
99cea4b370 wxTreeListCtrl still uses the wxTR_TWIST_BUTTONS style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 00:57:55 +00:00
Václav Slavík
91fa114d88 implemented nested index entries and index entries pointing to multiple documents in wxHtmlHelpController; modified wxHtmlHelpData API to make it possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:45:30 +00:00
Václav Slavík
5f7358f0fb wxHTML_REALLOC_STEP not used anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:43:23 +00:00
Václav Slavík
009c43927b wxObjArray::empty() was missing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:42:40 +00:00
Mattia Barbon
bc6e28d55a Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:22:48 +00:00
Václav Slavík
67c276bdb6 more fixes to HTML entities parsing when loading .hhk and .hhc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 19:40:20 +00:00
Václav Slavík
66bd83b4ec fixed setting colour of wxStaticText in case the label contains XML special characters
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:42:17 +00:00
Václav Slavík
3912b3f8f7 fixes to charset conversion when loading non-Latin1 helpbooks; use wxString instead of wxChar* in data structures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-27 13:09:18 +00:00
Václav Slavík
4dcccda66b implemented 3state checkboxes in wxGTK with GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:53:22 +00:00
Václav Slavík
a3c15d892d more fixes to keypress handling in wxGTK:
1. don't eat unprocessed events originating from child widgets
2. tell IM context about focus changes
3. set wxKeyEvent modifiers information from last GdkEventKey leading to IM's commit signal


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 15:25:39 +00:00
Vadim Zeitlin
a3db525414 added and documented wxKeyEvent::GetUnicodeKey(); made it work for MSW; added test for it to the text sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 13:34:15 +00:00
Dimitri Schoolwerth
fdd74b41b0 fixed include dependency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-25 15:09:06 +00:00
Robin Dunn
ba763a45d8 Optimized sizers to not call CalcMin more often than neccessary
Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:13:27 +00:00
Robin Dunn
9f88452895 * Implemented BestSize cache
* Added calls to InvalidateBestSize where things affecting BestSize
  are modified.  There are probably several other places where this
  still needs to be done...

* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
  into the MinSize, (if any) and return the result.

* SetBestFittingSize will now only set the MinSize to the value that
  was passed to it, without merging in the BestSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +00:00
Václav Slavík
da21012040 use GtkIMContext variable, not GtkIMMulticontext, we don't use functions that take the latter as their argument
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 17:54:08 +00:00
David Elliott
feb8276801 * Do not use class posing to handle target/action.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 15:14:33 +00:00
Václav Slavík
7a5e53abb3 fixed warnings after GetFont prototype change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 14:25:47 +00:00
Václav Slavík
adbf2d732f deprecated wxBookCtrlSizer and wxNotebookSizer, they are no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 11:58:06 +00:00
Robin Dunn
1f3192288b wxDefaultCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 03:04:57 +00:00
Václav Slavík
d721baa9e6 allow msgids in !=English languages (based on Stefan Kowski's patch)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 20:30:32 +00:00
Václav Slavík
0ac21dde62 no need to update default colours and refresh if syscolours change, wxWindow does it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:41:40 +00:00
Włodzimierz Skiba
21d09ecdee Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 16:04:36 +00:00
David Elliott
5369a0543e wxCocoa: Added wxScrollBar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:26:44 +00:00
Włodzimierz Skiba
d22004c4f4 Make some long #ifs shorter but multiline so diffs of other ports are more readable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 15:01:33 +00:00
Dimitri Schoolwerth
7738c2e59a fixed unresolved symbol main (occurred with wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 14:49:42 +00:00
Włodzimierz Skiba
4b0881393c Private macro moved in waiting for DektopPolicy implementation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:55:33 +00:00
Václav Slavík
29094af062 removed non-const wxWindow::GetFont and GetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 11:34:24 +00:00
Włodzimierz Skiba
119727ad9e Shortcuts for avoiding #ifdef __SMARTPHONE__ conditions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 10:44:16 +00:00
Václav Slavík
477160b73f include bitmap.h not needed anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 09:06:04 +00:00
Vadim Zeitlin
64764f5077 fix for a warning in DLL build (patch 966823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:33:44 +00:00
Vadim Zeitlin
12b58624e9 fixed assertion failure if Ok or Cancel button is clicked in a modeless dialog (bug 973873)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 23:20:27 +00:00
Vadim Zeitlin
91a7f3b04d remove unnecessary (and provoking a warning under IRIX) const qualifier on the return value of a function returning bool
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 21:40:17 +00:00
Włodzimierz Skiba
daf3246330 wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +00:00
Vadim Zeitlin
956495caff moved wxEntry(HINSTANCE, ...) declaration to wx/msw/app.h from wx/app.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 11:07:23 +00:00
Vadim Zeitlin
dcc19b5b38 fixed wxEntry() signature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 09:58:37 +00:00
Włodzimierz Skiba
af2799b7bb Maximized dialogs for SmartPhone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 08:29:42 +00:00
David Elliott
6fbcc6cac3 Observe NSControlTintDidChangeNotification in the application delegate.
TODO: Actually implement this to do something.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 04:16:22 +00:00
Robin Dunn
c0e6c05138 reverted m_adjustMinSize change prepatory for a new approach to fix
the problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:58:13 +00:00
Vadim Zeitlin
e4edebc096 removed Direction_Max from Direction enum for consistency with the MSW version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 12:36:34 +00:00
Włodzimierz Skiba
ee0f553126 Array of strings is needed regardless of wxUSE_CMDLINE_PARSER.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:35:38 +00:00
Václav Slavík
9d701f0ebf reverted previous revision, old clipboard API is still used by wxMSW itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 10:13:18 +00:00
Václav Slavík
831dd3a1e8 don't export deprecated interface to clipboard from DLL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27920 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:58:52 +00:00
Václav Slavík
2af18715e5 wxClipboard changes compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 08:54:35 +00:00
Václav Slavík
eaee975aca identify more compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27917 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 07:39:58 +00:00
Václav Slavík
5dc43d1fc5 create wxTheClipboard on first use, not startup -- this fixes crash in console-only apps that were linked against wxGTK's 'core' shared library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:19:26 +00:00
Václav Slavík
fbe47c7b5c check for wputc wputchar putws fputws availability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 17:18:50 +00:00
Mattia Barbon
9cde322b93 Fix for declaring arrays for non-numeric/non-pointer types.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 10:22:23 +00:00
Mattia Barbon
b76069e27f Compilation fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-20 09:14:18 +00:00
Václav Slavík
1ca21594f7 don't explicitly set font and bg colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 22:39:05 +00:00
Václav Slavík
7074ce3577 moved DoApplyWidgetStyle to wxWindowGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 17:49:26 +00:00
Mattia Barbon
7686554b25 Remove no longer used header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:53:50 +00:00
Robin Dunn
fe161a2685 Controls will readjust their size and minsize when SetLabel or SetFont
are called.  Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality.  Made SetBestSize public under the
SetBestFittingSize name.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Václav Slavík
5edef14ec8 reset fg/bg colour and font to default if set to wxNullColour/Font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:01 +00:00