previous up next     contents index
Next: Virtual Methods Up: C++ Structures in Scheme Previous: Default Arguments and Overloading

Exceptions to the Rule

 

In the appendix, certain wxWindows function names do not appear normally; instead, they appear with a ``_Scheme'' suffix. For example, instead of ``wxGetHostName'', ``wxGetHostName_Scheme'' is listed. These functions normally require a string buffer into which the result is written; the Scheme translation omits the buffer parameter (and accompanying size parameter), and returns a string if successful, or #f otherwise.

The wxGetMultipleChoice wxGetMultipleChoice@wxGetMultipleChoice function takes a selection argument that is an int *. This argument is translated in Scheme to a vector that must have the same number of elements as the list of choices. This vector is used for the initial selection and is mutated to return the user's selections. The nsel argument must still be supplied.

The ``WXK_...'' constants are translated as ``wx:const-k-...''.



PLT