/*
 * File:	noname.h
 * Purpose:	main application module, generated by wxBuilder.
 * Author:	Julian Smart
 * Created:	1993
 * Updated:	
 * Copyright:	(c) 1993, AIAI, University of Edinburgh
 */

/* sccsid[] = "%W% %G%" */

#ifndef nonameh
#define nonameh

#include "wx_tbar.h"
/*
 * Forward declarations of all top-level window classes.
 */
class  FrameClass2;
class  FrameClass23;

/*
 * Class representing the entire Application
 */
class AppClass: public wxApp
{
 public:
  FrameClass2 *frame5;
  FrameClass23 *frame22;
  wxFrame *OnInit(void);
  Bool ParseCommandLine(void);
};

class ToolBarClass10;
class PanelClass4;
class CanvasClass6;

class FrameClass2: public wxFrame
{
 private:
 protected:
 public:
  ToolBarClass10 *toolbar3;
  // Subwindows for reference within the program.
  PanelClass4 *panel7;
  CanvasClass6 *canvas20;

  // Constructor and destructor
  FrameClass2(wxFrame *parent, char *title, int x, int y, int width, int height, int style, char *name);
  ~FrameClass2(void);

 Bool OnClose(void);
 void OnSize(int w, int h);
 void OnMenuCommand(int commandId);
};

/* Menu identifiers
 */
// &File
#define FRAMECLASS2_FILE 1
// &Open
#define FRAMECLASS2_OPEN 2

/* Toolbar identifiers
 */
#define TOOL1 3

class PanelClass4: public wxPanel
{
 private:
 protected:
 public:
  // Panel items for reference within the program.
  wxButton *button9;
  wxText *text11;
  wxMessage *message13;
  wxMultiText *multitext16;
  wxListBox *listbox18;

  // Constructor and destructor
  PanelClass4(wxFrame *parent, int x, int y, int width, int height, int style, char *name);
  ~PanelClass4(void);

 void OnSize(int w, int h);
};

void ButtonProc10(wxButton& but, wxCommandEvent& event);

void TextProc12(wxText& text, wxCommandEvent& event);

void MultiTextProc17(wxText& text, wxCommandEvent& event);

void ListBoxProc19(wxListBox& lbox, wxCommandEvent& event);

class CanvasClass6: public wxCanvas
{
 private:
 protected:
 public:
  // Constructor and destructor
  CanvasClass6(wxFrame *parent, int x, int y, int width, int height, int style, char *name);
  ~CanvasClass6(void);

 void OnSize(int w, int h);
 void OnPaint(void);
 void OnEvent(wxMouseEvent& event);
 void OnChar(wxKeyEvent& event);
};

class ToolBarClass10: public wxToolBar
{
 private:
 protected:
 public:
  // Constructor and destructor
  ToolBarClass10(wxFrame *parent, int x, int y, int width, int height, int style, int orient,
      int rowsOrCols);
  ~ToolBarClass10(void);

 void OnPaint(void);
 Bool OnLeftClick(int toolIndex, Bool toggleDown);
 void OnMouseEnter(int toolIndex);
};

class TextWindowClass25;

class FrameClass23: public wxFrame
{
 private:
 protected:
 public:
  // Subwindows for reference within the program.
  TextWindowClass25 *textwindow24;

  // Constructor and destructor
  FrameClass23(wxFrame *parent, char *title, int x, int y, int width, int height, int style, char *name);
  ~FrameClass23(void);

 Bool OnClose(void);
 void OnSize(int w, int h);
 void OnMenuCommand(int commandId);
};

/* Menu identifiers
 */

/* Toolbar identifiers
 */

class TextWindowClass25: public wxTextWindow
{
 private:
 protected:
 public:
  // Constructor and destructor
  TextWindowClass25(wxFrame *parent, int x, int y, int width, int height, int style, char *name);
  ~TextWindowClass25(void);

 void OnSize(int w, int h);
};

#endif // mutual exclusion
