X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/108106cfe7af7b582fcaae8f5fe0ac05c545259d..a3c1786def55bcc233f9606acb1aceee956d184f:/samples/db/listdb.h diff --git a/samples/db/listdb.h b/samples/db/listdb.h index 0d966c961e..440ad92f3b 100644 --- a/samples/db/listdb.h +++ b/samples/db/listdb.h @@ -9,15 +9,12 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +#ifdef __GNUG__ #pragma interface "listdb.h" +#endif /* -/* -// SYNOPSIS START - Contains dialog class for creating a data table lookup listbox - -// SYNOPSIS STOP */ #ifndef LISTDB_DOT_H @@ -26,7 +23,7 @@ #include -const LOOKUP_COL_LEN = 250; +const int LOOKUP_COL_LEN = 250; // Global database connection extern wxDB *READONLY_DB; @@ -54,7 +51,7 @@ class Clookup2 : public wxTable }; // Clookup2 -class ClookUpDlg : public wxDialogBox +class ClookUpDlg : public wxDialog { private: bool widgetPtrsSet; @@ -120,6 +117,12 @@ class ClookUpDlg : public wxDialogBox void OnActivate(bool) {}; // necessary for hot keys }; +#define LOOKUP_DIALOG 500 + +#define LOOKUP_DIALOG_SELECT 501 +#define LOOKUP_DIALOG_OK 502 +#define LOOKUP_DIALOG_CANCEL 503 + #endif // LISTDB_DOT_H // ************************************ listdb.h *********************************