Commit Graph

24135 Commits

Author SHA1 Message Date
Włodzimierz Skiba
8833e26cbd wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:47:17 +00:00
Robin Dunn
339983ff62 Patches from Will Sadkin:
MaskedEditMixin:
- fixed size calculations on changing fonts
- fixed tabbing logic now that tab events are entered into the control
  by default (ie event.Skip()) if wx.TE_PROCESS_TAB is set
- fixed code attempting to fix the selection after focus events
  generated on control destruction, to prevent tracebacks

TextCtrl, ComboBox
- Added support for XRC
- Fixed sizing calculation code
- Added SetFont() override method that will recalculate the size if this
  is called.
- Added AppendItems() for ComboBox

NumCtrl:
- prevented ctrl from accepting same grouping and decimal character,
- fixed issue preventing paste from working if decimal char was different
  than '.'

TimeCtrl:
- Fixed default value to use 24hour time (which will be converted
  appropriately if format supports it, and added code to check if
  local timezone uses "AM/PM" for this concept; if not, control now
  defaults to 24hour format, and disallows the am/pm form.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:38:34 +00:00
Włodzimierz Skiba
b591b7cf2b Removed unused variable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:35:51 +00:00
Robin Dunn
e9019d1ce3 Install headers to the new location, use the new wx-config options
instead of building the wx-{toolchain}-config name myself, incremented
the version number.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 18:15:18 +00:00
Robin Dunn
2aa0b8c146 No longer have to hold a reference to the sound object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 15:29:07 +00:00
Robin Dunn
2116a0d13a Fix so sound looping will stop, courtesy of Ryan Norton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 15:13:19 +00:00
Włodzimierz Skiba
22b636aa15 wxUSE_STL=1 fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:53:14 +00:00
Włodzimierz Skiba
79c250d8d8 wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:52:08 +00:00
Vadim Zeitlin
6faac21b0b reimplemented wxBitmap::ConvertToImage() using wxDIB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:49:45 +00:00
Włodzimierz Skiba
e11d2abe46 Alternate form of condition readable for Borland compiler.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:49:28 +00:00
Włodzimierz Skiba
a56938e475 wxUSE_STATLINE fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 11:45:02 +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
d8b5a5175b don't select first hit in index if it is multi-topic entry, it causes a dialog to pop up
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 09:35:33 +00:00
Václav Slavík
68b47b2f09 adapted RPM spec file to latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:32:37 +00:00
Václav Slavík
166bcebb8e install headers in prefix/include/wx-version/wx/ instead of prefix/include/wx/
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 08:28:28 +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
Václav Slavík
a87bf37838 wx-config symlink creation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 07:43:05 +00:00
Václav Slavík
07bea8f0a0 detect WebKit availability
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 07:37:44 +00:00
Robin Dunn
9e783cc099 Fix so async wxSound can continue playing after it is destructed,
courtesy of Ryan Norton.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 04:22:47 +00:00
Robin Dunn
f5b96ee156 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:24:31 +00:00
Robin Dunn
cb8289465d 39 items is awfully big
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28380 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:06:37 +00:00
Robin Dunn
2ce9b1bfd3 mention *TabOrder and Navigate methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:04:32 +00:00
Robin Dunn
bc18250915 build a tarball when building the new docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:01:58 +00:00
Robin Dunn
477550dc0c Build the new docs as part of the automated build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28377 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:01:24 +00:00
Robin Dunn
c278542bdf reorganize a bit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28376 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 01:00:51 +00:00
Robin Dunn
de3ac0f5c8 cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:57:42 +00:00
Robin Dunn
7ac36741b1 Hold on to the Sound objects as the Mac async plays will stop when the
object is destroyed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:55:47 +00:00
Robin Dunn
e586e41df3 Add -framework QuickTime if --enable-sound
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28373 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:44:39 +00:00
Robin Dunn
27c2041ff6 Actually use the OnStack test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:43:58 +00:00
Robin Dunn
11df1e8a33 wxSOUND_SYNC is zero so it can't be used in a
(flags & wxSOUND_SYNC) test as it woudl always evaluate to false.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-22 00:42:52 +00:00
Robin Dunn
448971f395 If no colour name then use "BLACK"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 22:53:43 +00:00
Robin Dunn
f4d233c74a Call CreateControl instead of CreateBase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 22:07:38 +00:00
Vadim Zeitlin
f8b2997476 pretend that we support all encodings instead of not supporting any of them under GTK2 (this at least prevents wxFontMapper from aborting the program with 'can't create any font' message)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 21:54:54 +00:00
Robin Dunn
8423f11763 Docstring updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 20:28:23 +00:00
Robin Dunn
d20c6820bb Docstring updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:58:29 +00:00
Robin Dunn
36461f5811 Fixed incorrect ratio initialization
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:56:40 +00:00
Robin Dunn
3a9d4088d3 Added DoPrepareDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:22:19 +00:00
Robin Dunn
70794ec5ba Added docstrings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:21:30 +00:00
Robin Dunn
5e1796efd3 Updates from Chris
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:19:47 +00:00
Robin Dunn
6077391138 Set m_wheelDelta for wheel events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 19:06:56 +00:00
Václav Slavík
a30c6aadde regenerated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 18:59:03 +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
826800550b compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 17:07:44 +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
Vadim Zeitlin
ec91fc141f create the disabled button brush if we're not using Microwin, not if we're using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 12:23:54 +00:00
Stefan Csomor
3c86150dd7 first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 11:27:51 +00:00
Stefan Csomor
c5985061df first attempt for full screen implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 11:24:36 +00:00
Václav Slavík
9dd511178f fixed --inplace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 11:21:03 +00:00
Vadim Zeitlin
b68b06e2ff documented that Write() doesn't always write all the data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-21 10:45:28 +00:00