Commit Graph

12408 Commits

Author SHA1 Message Date
Robert Roebling
8ac7c50924 wxX11:
Made timer compile and maybe work.
    Fixed display bug in wxListCtrl.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 10:59:55 +00:00
Václav Slavík
ca39e4095a more fixes to wxSplitterWindow's initial sash position
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:51:06 +00:00
Václav Slavík
fd94e8aa45 A couple of changes to wxImage:
1. changed wxBMP_foo, wxCUR_foo to wxIMAGE_OPTION_{BMP,CUR}_foo
   (with backward compatiblity macros, of course)
2. applied Chris' patch to update hotspot when scaling an image
3. applied Chris' patch to write a filename in XPM and generalized it
   to pass wxIMAGE_OPTION_FILENAME to all saving handlers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:45:30 +00:00
Václav Slavík
06534aa178 oops, commiting too fast, forgot to fix a small typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-16 01:44:38 +00:00
Robert Roebling
2739864340 wxX11:
Reorganized SetSize() code so that composite controls work.
    Removed call to XSync() in the same code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 22:18:49 +00:00
David Webster
f068b957f0 New def file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 22:15:14 +00:00
Mattia Barbon
1952358f23 spaces -> TAB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 22:08:38 +00:00
Mattia Barbon
9722642d5d Updated docs for wxProcessEvent
wxPerl docs updates
some minor fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 21:50:50 +00:00
Robert Roebling
4125131be6 wxX11:
Added new scrolling code.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 20:25:40 +00:00
Václav Slavík
923d52d6fe fix visual artifact in wxMSW (why does it happen?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:42:12 +00:00
Václav Slavík
dbc38199c0 more MSLU fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:42:01 +00:00
Václav Slavík
ee1046d1cf don't translate accelerators in XRC menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:41:43 +00:00
Václav Slavík
2d1efe3fec added Alt-PrintScreen handling (SciTech won't be happy till we do everything Windows do...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:41:16 +00:00
Václav Slavík
c60ba92d09 don't show size grip when maximized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 19:40:51 +00:00
Mattia Barbon
4dcd292c41 Updated MinGW build instructions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 18:11:17 +00:00
Vadim Zeitlin
56d0c5a6a7 made wxDateTimeDefault an object and not a reference to avoid (well, minimize) initialization order problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 16:36:04 +00:00
Vadim Zeitlin
fbfb3fb3c7 AIX compilation fixes from Paul Thiessen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:11:06 +00:00
Vadim Zeitlin
5737d05f86 fixed <strings.h> include and also removed the obsolete WXSTRING_IS_WXOBJECT setting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:06:17 +00:00
Julian Smart
642d2dc86b #ifdefs for wxMotif which doesn't have a wxTopLevelWindow implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 15:03:44 +00:00
Julian Smart
ea19087eec Fixed usage of wxXmString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 14:50:10 +00:00
Vadim Zeitlin
f80aa2dee1 dirty fix for the initial splitter position waiting for Vaclav's better one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14229 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 14:07:49 +00:00
Václav Slavík
df2f507bee leave in only Julian's version of CaptureMouse code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 12:49:44 +00:00
Julian Smart
e334d0eac8 Include XPM under wxX11 for some samples; added comment about
non-working images in dragimag sample


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 12:32:50 +00:00
Julian Smart
eb90fb3ee8 Fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:25:14 +00:00
Julian Smart
5ed738a766 Added compatibility file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:15:22 +00:00
Julian Smart
256d631aaf Started some NanoX work (blind to begin with)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:14:42 +00:00
Václav Slavík
c41c20a566 copyright update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 01:07:52 +00:00
Václav Slavík
8f5e92dbe5 corrected double click events: wxMGL will now synthetize
second single click, so that events sequence is single-single-double as wxWindows
expects rather than single-double as MGL generates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 00:55:27 +00:00
Robin Dunn
be90c029fd As per the wx-dev discussion in early Jan, replaced
wxWindow::m_parentSizer with m_containingSizer which is used to track
which sizer this window is a member of.  Windows will now remove
themselves from a sizer when destroyed.  Also added accessors so
window classes can find out if they are in a sizer and do things like
reset their min size, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14221 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 23:34:46 +00:00
Vadim Zeitlin
9990cb50e4 undid my fix for loading 16x16 icons which results in ugly results when loaing 32x32 ones because LoadImage() scales them badly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14220 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 22:05:14 +00:00
Robert Roebling
7e085304e8 wxX11:
Added code for ScrollWindow(). This can easily be
       modified to scroll only a given rect.
     Made dialogs grey. :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:58:21 +00:00
Vadim Zeitlin
e3400e2eb9 cache various bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:51:07 +00:00
Vadim Zeitlin
cc4bc3a06b no changes (de-TABified, undid some horrors with which someone replaced my ?: operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:29:34 +00:00
Robert Roebling
ba696cfadf Updated the erase/paint event logic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:08:45 +00:00
Vadim Zeitlin
2e8cc3e834 fixes to sash adjusting code to avoid setting it to 0 initially
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 21:00:41 +00:00
Vadim Zeitlin
58b434187d wxFrame base class is xTLW, not wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:58:31 +00:00
Václav Slavík
eea932674b fill wxFocusEvent::m_win properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:49 +00:00
Václav Slavík
52750c2e10 copyright update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:30:34 +00:00
Václav Slavík
094ca819f9 create wxSpinCtrl with default pos+size first, so that the subsequent call to DoSetSize is not a no-op
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 20:29:10 +00:00
Robert Roebling
90f501b16e Fixed bug with disappearing menus. They were
drawn under all other windows all but the
    first time.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 19:55:26 +00:00
Julian Smart
15c6934360 Stopped width = 0 fouling up window size change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:26:17 +00:00
Julian Smart
3a0b23eb74 Added some XSyncs to help size calculations, but positioning
dialog remains a mystery


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 18:06:50 +00:00
Václav Slavík
99ee04b97b implemented cursors cache, so that cursors are not loaded from file again and again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:53 +00:00
Václav Slavík
cebf2fec3d take const reference (thanks to Alberto Barbati)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 17:11:38 +00:00
Julian Smart
3edb5d305c Restored previous mouse release/capture behaviour for some ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 15:47:01 +00:00
Vadim Zeitlin
98c9194837 use the native wxImageList under Win32 as otherwise xUniv doesn't link currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 14:23:35 +00:00
Vadim Zeitlin
e3b7670bbe compilation fix for wxUSE_PALETTE == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14203 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:50:10 +00:00
Vadim Zeitlin
071e5fd9e8 #if wxUSE_PALETTE, not #ifdef
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:47:33 +00:00
Robert Roebling
86fd8bda38 Some clean-ups which don't really solve any problem yet.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 13:13:08 +00:00
Julian Smart
307be31a92 Added border for top level windows with captions, though
this does seem to make it resizable also. Sizing of about dialog
wrong at present.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 12:07:54 +00:00