Back to index

plt-scheme  4.2.1
Defines | Functions
ListBox.cc File Reference
#include "wx.h"
#include "widgets.h"
#include <ctype.h>

Go to the source code of this file.

Defines

#define Uses_XtIntrinsic
#define Uses_wxListBox
#define Uses_wxStringList
#define Uses_TraversingEnforcerWidget
#define Uses_MultiListWidget
#define Uses_ScrollWinWidget
#define LIST_CHUNK_SIZE   20
#define MULTILIST   ((XfwfMultiListWidget)(X->handle))
#define wxLIST_BOX_WIDTH   70
#define wxLIST_BOX_HEIGHT   50

Functions

char * wxchoice_unprotect_amp (char *s)
static int int_le (const void *a, const void *b)
void wxBell (void)

Define Documentation

#define LIST_CHUNK_SIZE   20

Definition at line 43 of file ListBox.cc.

#define MULTILIST   ((XfwfMultiListWidget)(X->handle))

Definition at line 44 of file ListBox.cc.

Definition at line 36 of file ListBox.cc.

Definition at line 37 of file ListBox.cc.

Definition at line 35 of file ListBox.cc.

#define Uses_wxListBox

Definition at line 32 of file ListBox.cc.

Definition at line 33 of file ListBox.cc.

Definition at line 31 of file ListBox.cc.

#define wxLIST_BOX_HEIGHT   50

Definition at line 47 of file ListBox.cc.

#define wxLIST_BOX_WIDTH   70

Definition at line 46 of file ListBox.cc.


Function Documentation

static int int_le ( const void a,
const void b 
) [static]

Definition at line 447 of file ListBox.cc.

{
  return (*(int *)a - *(int *)b);
}

Here is the caller graph for this function:

void wxBell ( void  )

Definition at line 34 of file Misc.cc.

{
    XBell(wxAPP_DISPLAY, 100);
}

Here is the caller graph for this function:

char* wxchoice_unprotect_amp ( char *  s)

Definition at line 233 of file Choice.cc.

{
  if (strchr(s, '&')) {
    /* strip "&&" */
    int i, amp = 0;
    char *s2;
    for (i = 0; s[i]; i++) {
      if (s[i] == '&') {
       amp++;
       i++;
      }
    }

    s2 = new WXGC_ATOMIC char[i - amp + 1];
    amp = 0;
    for (i = 0; s[i]; i++, amp++) {
      if (s[i] == '&')
       i++;
      s2[amp] = s[i];
    }
    s2[amp] = 0;
    return s2;
  } else
    return s;
}

Here is the call graph for this function:

Here is the caller graph for this function: