Commit Graph

12386 Commits

Author SHA1 Message Date
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
Julian Smart
edaf57a4da Added SetSize to toplevel window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:55:22 +00:00
Julian Smart
af2309c0fb Commented out XSetInputFocus for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:37:19 +00:00
Julian Smart
45ff6421e6 Removed wxBuffer from several ports; added function to get XEvent name;
started on commandline parsing for wxX11


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 11:07:26 +00:00
Stefan Csomor
318fa6983d added .inited comparison as suggested by John McPherson to avoid comparison wxBlack to wxNullBitmap being true
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 09:02:54 +00:00
Robert Roebling
346d4fcde7 wxX11:
Don't add popup windows to wxTopLevelWindows,
       espially not if you don't delete them later.
     Corrected ReleaseMouse().


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:45:13 +00:00
Václav Slavík
81762e79b8 handle accelerators for buttons, too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:38:09 +00:00
Václav Slavík
d53fc7c96d 1. added wxUpdateUIEvent handling to wxMGL
2. added Alt-F4 and PrintScreen handling
3. removed accelerators handling (done by wxUniv)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14192 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:37:12 +00:00
Václav Slavík
cbe0afe09a added wxUpdateUIEvent handling to wxMGL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-14 00:36:33 +00:00
Vadim Zeitlin
ca1b5af1c4 delete the command if we failed to execute it (bug 515687)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 23:34:25 +00:00
Robin Dunn
ef2060faf3 SWIGged updates for wxGTK for recent changes
A few other little cleanups


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:17:33 +00:00
Robin Dunn
c0fbf24ba6 A little different fix for how to delay the call to __wxCleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:01:04 +00:00
Robin Dunn
154747f5be A fix for incorrect wrapping of wxPallet.GetRGB
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 22:00:29 +00:00
Vadim Zeitlin
d973988695 return NULL from FindById() if the tool wasn't found (bug 508399)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 21:04:43 +00:00
Vadim Zeitlin
7183fd726e added wxFSVolume patch from George Policello (untested, unreferenced from the project files yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 21:01:50 +00:00
Vadim Zeitlin
bc7e0c92ad wxRESIZE_BOX -> wxRESIZE_BORDER (bug 515364)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 20:36:15 +00:00
Vadim Zeitlin
59c962bf54 don't use -q option with egrep, Solaris doesn't have it (bug 517145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 20:31:55 +00:00
Robin Dunn
c2d516f260 Fix for the splashscreen bitmap not showing up in wxGTK.
NOTE:  This is just a band-aid fix.  Someone (Robert?) should really
check why the wxEraseEvent was not sent to this window at all!


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 19:03:30 +00:00
Julian Smart
707440dc36 Allowed for wxHAVE_LIB_XPM or using wxXPMDecoder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 18:01:38 +00:00
Julian Smart
61aa560b2d Fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:23:13 +00:00
Julian Smart
f9488c6611 Include src/x11/utils.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:17:09 +00:00
Julian Smart
a1de932df0 Fixed typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 17:16:46 +00:00
Vadim Zeitlin
0feee163dc disable wxSocket for wxX11, doesn't link anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14177 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-13 16:47:43 +00:00