/////////////////////////////////////////////////////////////////////////////
// Name:        dialoged.h
// Purpose:     Dialog Editor application header file
// Author:      Julian Smart
// Modified by:
// Created:     04/01/98
// RCS-ID:      $Id$
// Copyright:   (c) Julian Smart
// Licence:   	wxWindows license
/////////////////////////////////////////////////////////////////////////////

#ifdef __GNUG__
#pragma interface "dialoged.h"
#endif

#ifndef dialogedh
#define dialogedh

#include "wx/proplist.h"
#include "reseditr.h"

extern void ObjectMenuProc(wxMenu *menu, wxCommandEvent& event);

class MyChild;

// Define a new application
class MyApp: public wxApp
{
public:
    MyApp(void);
    bool OnInit(void);
    int OnExit(void);
    
    void OnObjectPopupMenu(wxCommandEvent& event)
    {
        ObjectMenuProc((wxMenu *)event.GetEventObject(), event);
    }
    
private:
    DECLARE_EVENT_TABLE()
};

DECLARE_APP(MyApp)

extern wxFrame *GetMainFrame(void);

#endif
