wxWidgets/include/wx/msw
Julian Smart 131f9d9b19 Applied patch [ 597700 ] Fix proposal for wxJoystick under MSW
Proposed fixes for the wxWindows joystick code under
MSW.
Some of these would be valid for other platforms, too.

Events for buttons are named wrong, docs say different.
Docs say EVT_JOY_BUTTON_DOWN and
EVT_JOY_BUTTON_UP,
but the code says EVT_JOY_DOWN and EVT_JOY_UP. I
suggest
changing the code to match the docs.

wxJoystick::GetNumberJoysticks() should be a static
member
function. Having to create a joystick object to see if there
are joysticks is silly.

Docs for GetNumberJoysticks() must be changed; it returns
the
number of potentially connected joysticks, not the number of
actually connected. Alternatively, GetNumberJoysticks() and
others must be rewritten to conform with documentation,
including
remapping of wxWindows sequential joystick ID's to match
MSW non-sequential joystick ID's.

dwSize is not set when joyGetPosEx() is called. SEVERE
ERROR.

Error return value from functions should not be a legal
return,
for instance, wxJoystick::GetPOVCTSPosition() returns 0
for error,
but this is a legal return value.

GetButtonState() supports only four (out of 32) buttons.
Also, should return as bitmap (LSB = button 1). (Win32
does this,
although not documented as such).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-20 17:16:05 +00:00
..
ctl3d these aren't being used any more 2000-01-26 18:14:05 +00:00
ole added operator++/-- for wxAutoULong (SF patch from Igor) 2002-07-23 21:59:06 +00:00
.cvsignore Just ignore CVS. It's better for you. 1999-06-07 19:41:37 +00:00
accel.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
app.h Applied patch [ 588734 ] Makes ProcessIdle() virtual 2002-08-01 19:54:55 +00:00
bitmap.h added wxUSE_PALETTE and fixed compilation with it set to 0 2001-09-30 22:06:39 +00:00
blank.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
bmpbuttn.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
brush.h total wxBrush cleanup: made private stuff private, fixed data (un)sharing, create HBRUSH on demand only, added asserts/checks 2002-02-04 01:35:30 +00:00
bullseye.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
button.h changed the handling of the default buttons to be more logical 2002-05-11 22:31:05 +00:00
caret.h MSW Caret is now destroyed and recreated when resized. 2000-01-10 23:01:19 +00:00
cdrom.ico Added wxGenericDirCtrl, wxGenericDirDialog and associated icons. 2000-07-23 19:10:27 +00:00
checkbox.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
checklst.h fixed multiple bugs in multiple selection wxCheckListBoxes 2002-05-05 23:09:37 +00:00
child.ico Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
choice.h 1. more proper fix for wxChoice/wxComboBox height problems than in 2,2 branch 2001-05-19 01:01:21 +00:00
clipbrd.h MSW compilation fixes (untested) 1999-10-22 13:26:45 +00:00
clock.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
colordlg.h applied patch to build wxMSW with CW7 (patch 550445) 2002-05-09 22:34:44 +00:00
colour.h Forgot to commit 2001-10-18 20:58:12 +00:00
colours.bmp 0. extracted toolbar colour mapping stuff to its own function 2002-01-13 23:04:11 +00:00
combobox.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
computer.ico Added wxGenericDirCtrl, wxGenericDirDialog and associated icons. 2000-07-23 19:10:27 +00:00
control.h 1. always create the buttons with WS_CLIPSIBLINGS style, this prevetns them 2002-02-20 00:02:51 +00:00
csquery.bmp Put wxContextHelp into cshelp.h/cpp, added wxContextHelpButton 2000-09-08 10:49:39 +00:00
curico.h Fixes for 16-bit compilation 1999-10-24 19:50:17 +00:00
curicop.h Fixes for 16-bit compilation 1999-10-24 19:50:17 +00:00
cursor.h replaced unnecessary #include with a forward decl 2002-04-23 23:51:52 +00:00
dc.h Added wxDF_HTML 2002-04-17 11:48:11 +00:00
dcclient.h implemented wxWindowDC and wxClientDC::GetSize() properly (fixes bug #503022) 2002-02-23 21:32:45 +00:00
dcmemory.h 1. fixes to wxDC deleting logic (should fix ~wxPrinterDC leak), some code 2001-04-09 01:22:48 +00:00
dcprint.h Added wxUSE_DC_CACHEING and associated code to wxMSW 2001-07-11 10:07:06 +00:00
dcscreen.h fix for wxScreenDC::GetSize 2002-03-05 00:52:01 +00:00
dde.h Fixed virtual function hiding problem 2000-01-06 19:05:02 +00:00
dialog.h added default value for Show() argument 2002-02-01 12:21:40 +00:00
dib.h applied patch 417699 (remove WXDLLEXPORT from inline functions) 2001-04-26 16:38:11 +00:00
dibutils.h Renameing funktions to prevent name clashes 1999-10-04 11:39:13 +00:00
dirdlg.h wxDirDialog now has the same ctor under all platforms and also uses the 2002-05-04 12:38:51 +00:00
disable.bmp Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
display.h Applied patch [ 573644 ] wxDisplay for Mac (again) 2002-07-19 20:42:34 +00:00
dragimag.h Fixed some wxDragImage bugs 2001-04-10 21:01:40 +00:00
drive.ico Added wxGenericDirCtrl, wxGenericDirDialog and associated icons. 2000-07-23 19:10:27 +00:00
enhmeta.h 1. fixes to wxDC deleting logic (should fix ~wxPrinterDC leak), some code 2001-04-09 01:22:48 +00:00
error.ico Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
fdrepdlg.h added generic implementation and documentation for wxFindReplaceDialog 2001-08-01 14:55:03 +00:00
file1.ico Added wxGenericDirCtrl, wxGenericDirDialog and associated icons. 2000-07-23 19:10:27 +00:00
filedlg.h 1. wxFileDialog patch for multiple selection applied (with some small changes), 1999-12-07 00:48:45 +00:00
floppy.ico Added wxGenericDirCtrl, wxGenericDirDialog and associated icons. 2000-07-23 19:10:27 +00:00
folder1.ico Added wxGenericDirCtrl, wxGenericDirDialog and associated icons. 2000-07-23 19:10:27 +00:00
folder2.ico Added wxGenericDirCtrl, wxGenericDirDialog and associated icons. 2000-07-23 19:10:27 +00:00
font.h implemented IsFixedWidth() correctly for MSW 2002-01-26 22:29:37 +00:00
fontdlg.h fixes to wxFontDialog after recent changes 2002-05-12 22:26:01 +00:00
fontenum.h Added wxFontEnumerator class for wxMSW, and fixed text validator for French 1999-09-06 09:36:21 +00:00
frame.h moved OnActivate() logic from wxFrame to wxDialog -- this fixes infinite loop when handling WM_ACTIVATE in DefDlgProc in some crazy situations 2002-06-13 00:04:22 +00:00
gauge95.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
gaugemsw.h 1. added wxEnhMetaFileXXX classes 2000-01-13 23:39:48 +00:00
gccpriv.h applied patch 446014 (misc mingw fixes from Mattia) 2001-08-02 19:02:17 +00:00
gdiimage.h mingw32 compilation fixes 1999-11-26 09:53:35 +00:00
gdiobj.h 1. wxIcon/wxCursor change, wxGDIImage class added 1999-11-24 12:30:56 +00:00
glcanvas.h fixed GL case in #include (patch 557178) 2002-05-22 15:56:38 +00:00
gsockmsw.h Private gsocket files were using 'typedef int bool', removed this 2001-05-10 06:31:39 +00:00
hand.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
heart.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
helpbest.h don't include wx/wx.h unnecessarily 2002-03-09 21:55:39 +00:00
helpchm.h don't include wx/wx.h unnecessarily 2002-03-09 21:55:39 +00:00
helpwin.h Added wxHelpControllerHelpProvider, added DisplayContextPopup, DisplayTextPopup 2000-09-12 14:53:39 +00:00
icon.h 1. wxStaticBitmap now uses mask even for bitmaps (and not only icons) 2000-02-02 00:52:06 +00:00
imaglist.h merged 2.2 branch 2000-07-15 19:51:35 +00:00
info.ico Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
iniconf.h added missing default values for the 2nd argument of DeleteEntry() 2002-03-05 00:32:46 +00:00
joystick.h Applied patch [ 597700 ] Fix proposal for wxJoystick under MSW 2002-08-20 17:16:05 +00:00
listbox.h replaced quotes in #include with angle brackets 2002-06-01 11:48:26 +00:00
listctrl.h 1. more consistency in wxTree/ListEvent methods naming convention: 2002-07-21 14:29:13 +00:00
magnif1.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
mdi.h fixed several resource leaks related to MDI menus 2002-01-13 01:26:04 +00:00
mdi.ico Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
menu.h implemented radio menu items for wxMSW 2002-03-21 02:35:08 +00:00
menuitem.h fixes to radio menu items 2002-03-24 01:24:16 +00:00
metafile.h 1. added wxEnhMetaFileXXX classes 2000-01-13 23:39:48 +00:00
microwin.h More tweaks to wxMicroWi 2001-12-22 19:43:44 +00:00
mimetype.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
minifram.h fixed assert when using wxMiniFrame (result of recent changes) 2002-05-25 20:34:13 +00:00
missing.h Bugfix for wxListCtrl::GetColumn. It wasn't checking the returned format correctly. 2002-08-14 23:25:06 +00:00
msgdlg.h MSW compilation fixes - widgets sample runs! 2001-06-27 00:27:24 +00:00
mslu.h fixed MSVC warnings 2002-03-08 23:48:16 +00:00
msvcrt.h _MSC_VER => __VISUALC__ change 1999-02-03 16:48:12 +00:00
noentry.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
notebook.h change the selection appropriately (and refresh it as needed) after deleting a notebook page 2002-08-16 00:48:45 +00:00
palette.h merged 2.2 branch 2000-07-15 19:51:35 +00:00
pbrush.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
pen.h Fixed problem with wxPen::SetDashes. (An array of bytes was typcast 2001-09-27 00:35:24 +00:00
pencil.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
pntleft.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
pntright.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
popupwin.h reverted wxPopupWindow implementation to the original version using WS_CHILD and desktop as parent; this fixes the activation problem but reopens the other ones 2002-06-05 23:30:00 +00:00
printdlg.h 1. some more of "#if wxUSE_XXX" here and there 1999-06-13 22:54:04 +00:00
printwin.h more backwards compatibility for printing 1999-04-02 22:30:56 +00:00
private.h Icons fetched from wxMimeTypesManager did not get the width/height of 2002-07-15 18:29:52 +00:00
query.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
question.ico Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
radiobox.h added default parameter values to the overloaded Show() and Enable() versions 2002-06-04 18:09:20 +00:00
radiobut.h Added wxRadioButton::MSWWindowProc to reset m_focusJustSet -- otherwise, 2002-07-05 14:09:31 +00:00
regconf.h added missing default values for the 2nd argument of DeleteEntry() 2002-03-05 00:32:46 +00:00
region.h changed CloneRefData() to take a const pointer 2002-02-04 01:34:18 +00:00
registry.h added an explicit accessor to query the default key value 2002-01-21 15:52:03 +00:00
removble.ico Added wxGenericDirCtrl, wxGenericDirDialog and associated icons. 2000-07-23 19:10:27 +00:00
rightarr.cur Added wxCURSOR_RIGHT_ARROW, which is like the typical wxCURSOR_ARROR, 2002-03-15 22:52:15 +00:00
roller.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
scrolbar.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
setup0.h libunicows moved to sourceforge 2002-07-27 22:27:46 +00:00
setup_microwin.h removed a few warnings and CW compilation problems (patch from Dimitri) 2002-03-27 18:43:13 +00:00
size.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
slider95.h added TRUE default value for Show() argument 2002-06-20 12:52:06 +00:00
slidrmsw.h Added wxUSE_NUMBERDLG to setup.h; added some files to VC++ project files; 2001-06-27 11:55:33 +00:00
spinbutt.h test for __WIN95__ in the main header, not platform-sepcific one for consistency with the other classes 2001-07-20 11:59:46 +00:00
spinctrl.h a hack to fix the MSW build for now, pending better solution 2002-02-07 12:24:57 +00:00
statbmp.h * Fixed wxStaticBitmap::SetBitmap so that it does not ignore the mask 2001-11-06 21:16:02 +00:00
statbox.h first pass of wxUniv merge - nothing works, most parts don't even compile 2001-06-26 20:59:19 +00:00
statbr95.h 1. wxProgressDialog uses wxWindowDisabler, not (dumb) wxEnableTopLevelWindows 2000-03-12 00:26:21 +00:00
statline.h use WS_CLIPSIBLINGS for wxStaticLine as well 2002-02-20 00:25:54 +00:00
stattext.h Doc tweaks 2002-05-05 09:35:44 +00:00
std.ico Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
tabctrl.h 1. made compilation with WXWIN_COMPATIBILITY_EVENT_TYPES really work 2001-01-31 17:16:40 +00:00
taskbar.h Update taskbar.h to use DECLARE/DEFINE_EVENT_TYPE; fixes an runtime error 2002-06-09 19:24:21 +00:00
tbar95.h As in 2.2.9, toolbars should not get the focus. 2002-03-31 14:07:17 +00:00
tbarmsw.h As in 2.2.9, toolbars should not get the focus. 2002-03-31 14:07:17 +00:00
textctrl.h default style now applies to the text entered by the user as well (patch 574789) 2002-07-21 18:49:10 +00:00
tglbtn.h applied (slightly modified) wxToggleButton patch from John Norris and Axel Schlueter 2001-02-08 18:57:23 +00:00
timer.h 1. wxTimer change - now generates EVT_TIMER() 2000-02-05 01:57:38 +00:00
tooltip.h Added RTTI macros to wxToolTip 2001-07-14 03:23:30 +00:00
toplevel.h moved OnActivate() logic from wxFrame to wxDialog -- this fixes infinite loop when handling WM_ACTIVATE in DefDlgProc in some crazy situations 2002-06-13 00:04:22 +00:00
treectrl.h added support for wxTR_HIDE_ROOT style (patch 529614) 2002-03-16 15:08:20 +00:00
warning.ico Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
watch1.cur Attempting to restore the binary files that got trashed earlier today. 1999-10-09 07:15:31 +00:00
wave.h Added wxUSE_WAVE to setup0.h and checked for it in wave.h 2001-07-14 03:25:40 +00:00
window.h fixed setting tooltips for slider by moving the code working around comctl32.dll bug from wxToolBar to wxWindow so that it is used for all common controls 2002-06-20 14:49:19 +00:00
winundef.h removed a few warnings and CW compilation problems (patch from Dimitri) 2002-03-27 18:43:13 +00:00
wx.rc port proplist.cpp to wxArtProvider 2002-03-22 23:22:02 +00:00