Commit Graph

11398 Commits

Author SHA1 Message Date
Václav Slavík
f258818045 Changes to the XRC library:
1. preparation of XRC handlers for subclassing (Alex)
2. fixed incorrect use of _() in couple of places
3. wxFrame and wxDialog positioning fixes
4. menus and toolbars attach themselves to the parent frame
5. style unification: let all _T()s be wxT()s


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:48 +00:00
Václav Slavík
7ee7772018 fixed bug in wxHTML that certainly prevented it from working with most web servers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:37 +00:00
Václav Slavík
98a5281903 fixed another 2 instances of wxStrncpy bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:30 +00:00
Václav Slavík
49eb2344d5 Idiot I am; my previous commit certainly broke non-Unicode builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:16:18 +00:00
Václav Slavík
a72a4bfaf3 1. libunicows support in configure
2. applied ac-2.5x compatibility patch (#497048)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 23:15:52 +00:00
Václav Slavík
9b7f3e3023 fix for Unicode build -- wxMB2WXbuf cannot be initialized with NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 18:07:04 +00:00
Václav Slavík
fe1bdf10a6 removed obsolete docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 18:06:52 +00:00
Václav Slavík
5d32001b32 fix for unicode crashes by Dimitri
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-27 18:06:34 +00:00
Ron Lee
2e0b1b1114 removed macro magic that causes build problems on some
platforms and was apparently unneeded elsewhere after all..


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-26 23:23:12 +00:00
Václav Slavík
e3f3984bca fixes for misplaced radio buttons in wxRadioBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 23:35:11 +00:00
Václav Slavík
c2ef70ec8a fixed misplaced subcontrols of wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 23:34:57 +00:00
Václav Slavík
5acaf196e7 better wxMGL wxSystemSettings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 23:34:49 +00:00
Vadim Zeitlin
d0eb7e5699 fixed compilation for strict ANSI compilers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:38:01 +00:00
Vadim Zeitlin
29e1cfc224 emphasized that SetValue() doesn't make the control dirty
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:36:48 +00:00
Vadim Zeitlin
104d7404b9 don't make control dirty after a call to SetValue()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:32:55 +00:00
Vadim Zeitlin
8b4a9377b0 fixed crash when an item didn't have any data
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:31:13 +00:00
Vadim Zeitlin
28ca76100e documented Number() as obsolete and added GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-25 22:29:48 +00:00
Vadim Zeitlin
17b898bb84 don't crash if bitmaps are not found
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 16:34:51 +00:00
Vadim Zeitlin
97a9929e8f fixed Fit() to avoid showing scrollbars
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 16:28:18 +00:00
Vadim Zeitlin
d6a9730667 DoSetClientSize() may take 4 iterations to set the right size sometimes, not 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 16:26:47 +00:00
Vadim Zeitlin
3cf883a26a really fixed GetRenderer() and GetEditor() methods, they were both broken in some strange and twisted (and different) ways
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:15:11 +00:00
Vadim Zeitlin
248d771ce4 fixed memory leak when SetTargetWindow() was called more than once and made DeleteEvtHandler() more robust
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:14:11 +00:00
Václav Slavík
f7b301fa5b fixes to wxFont mods for the case w/o native fontinfo struct
(could never possibly compile)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:08:38 +00:00
Václav Slavík
ef243e708a typo fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:06:23 +00:00
Václav Slavík
444d61ba4a compilation fix for DJGPP
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 14:06:09 +00:00
Vadim Zeitlin
3f1d13738e typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 12:56:55 +00:00
Ron Lee
33c5b54b68 added slightly more informative failure reporting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 12:12:30 +00:00
Ron Lee
9d155f504e Added GetStringArray method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 11:16:46 +00:00
Vadim Zeitlin
5e968b7452 changed the default font facename for the decorative family - is it correct for Win9x?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 01:18:06 +00:00
Vadim Zeitlin
7936354da7 code clean up, avoid duplicating the same code in font.cpp and fontutil.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-24 01:06:15 +00:00
Vadim Zeitlin
bff67a6a81 use wxFontMapper when setting the encoding (fix to restore the behaviour broken by the native font info change)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13175 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 23:53:46 +00:00
Mattia Barbon
cbc95b2cc9 Updated docs for wxGrid: added events, event macros, default editors and renderers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 21:26:11 +00:00
Robert Roebling
a7b51bc869 Removed warning for Darwin compilation from datetime.inl
Added wxFileName::SetPath() and set m_relative if no dir is given
  Corrected wxFrame::Enable() in wxMac.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13173 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 15:52:29 +00:00
Vadim Zeitlin
cf48ccc00c fixed handling of the items with indirect data broken yesterday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 13:38:23 +00:00
Vadim Zeitlin
59ff46cb36 create masks even (slightly) faster
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 11:47:22 +00:00
Ron Lee
016105291a Added missing header and missing logic. :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 08:04:06 +00:00
Vadim Zeitlin
a99966fb32 sped up the mask creation by a factor of 40
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 02:03:55 +00:00
Ron Lee
59bd4c3881 Added missing compile define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 02:01:45 +00:00
Vadim Zeitlin
a230101e23 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:56:31 +00:00
Vadim Zeitlin
51ddb341ee sped up the mask creation by a factor of 40
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:56:08 +00:00
Vadim Zeitlin
25faedaa98 applied patch fixing some graphical glitches from Dimitri
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:09:20 +00:00
Vadim Zeitlin
502a2b1810 fixed sorting the items which have indirect data (i.e. images set for open/closed state) and made indirect data handling much simpler and more efficient as a side effect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-23 01:00:32 +00:00
Vadim Zeitlin
d6acfcb5f6 fixed wrong return value of wxComboBox::GetClientObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 23:22:55 +00:00
Mattia Barbon
1c79904b9e Made wxPD_AUTO_HIDE work.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 21:20:34 +00:00
Julian Smart
62e1ba759a More tweaks to wxMicroWi
More tweaks to MicroWindows


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 19:43:44 +00:00
Vadim Zeitlin
a9249b2eb2 wxFont can now raelly use the native fonts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 03:31:48 +00:00
Vadim Zeitlin
7c349adb6e fixed wxProgressDialog for ranges > 65535
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 02:14:38 +00:00
Václav Slavík
1ccabb813a use wxBusyCursor in wxHtmlWindow instead of SetCursor (the next step is figuring out if removing wxYield from LoadPage will break anything)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-22 00:02:32 +00:00
Robert Roebling
631748a7f9 Removed two more files from wxMicroWindows compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 22:26:54 +00:00
Vadim Zeitlin
ab5fe83396 add more methods to wxNativeFontInfo: To/FromUserString and all the
accessor methods and implemented some of them


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2001-12-21 21:39:45 +00:00