]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/joystick.tex
silence gcc warnings about values not handled in switch
[wxWidgets.git] / docs / latex / wx / joystick.tex
index 72c473017fc42da95fb0dc86ee52c7b4c86f041e..155b2f05fbff0ada13efab70ac6aabeabef1117e 100644 (file)
@@ -16,14 +16,14 @@ wxJoystick allows an application to control one or more joysticks.
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
-\membersection{wxJoystick::wxJoystick}\label{wxjoystickconstr}
+\membersection{wxJoystick::wxJoystick}\label{wxjoystickctor}
 
 \func{}{wxJoystick}{\param{int}{ joystick = wxJOYSTICK1}}
 
 Constructor. {\it joystick} may be one of wxJOYSTICK1, wxJOYSTICK2, indicating the joystick
 controller of interest.
 
-\membersection{wxJoystick::\destruct{wxJoystick}}
+\membersection{wxJoystick::\destruct{wxJoystick}}\label{wxjoystickdtor}
 
 \func{}{\destruct{wxJoystick}}{\void}
 
@@ -66,7 +66,7 @@ Returns the number of buttons for this joystick.
 
 \membersection{wxJoystick::GetNumberJoysticks}\label{wxjoystickgetnumberjoysticks}
 
-\constfunc{int}{GetNumberJoysticks}{\void}
+\func{static int}{GetNumberJoysticks}{\void}
 
 Returns the number of joysticks currently attached to the computer.
 
@@ -201,7 +201,7 @@ Returns the maximum z position.
 
 \membersection{wxJoystick::GetZMin}\label{wxjoystickgetzmin}
 
-\constfunc{int}{GetXMin}{\void}
+\constfunc{int}{GetZMin}{\void}
 
 Returns the minimum z position.