#############################################################################
## Name:        ext/grid/XS/GridTableMessage.xsp
## Purpose:     XS++ for Wx::PlGridTable
## Author:      Mattia Barbon
## Modified by:
## Created:     08/11/2003
## RCS-ID:      $Id: GridTableMessage.xsp,v 1.2 2005/01/23 13:40:47 mbarbon Exp $
## Copyright:   (c) 2003, 2005 Mattia Barbon
## Licence:     This program is free software; you can redistribute it and/or
##              modify it under the same terms as Perl itself
#############################################################################

%module{Wx};

%typemap{wxGridTableBase*}{simple};
%typemap{wxGridTableMessage*}{simple};

%{
#include "wx/grid.h"
%}

%name{Wx::GridTableMessage} class wxGridTableMessage
{
    wxGridTableMessage( wxGridTableBase* table, int id, int int1 = 0, int int2 = 0 );
    ~wxGridTableMessage();

    void SetTableObject( wxGridTableBase* table );
    wxGridTableBase* GetTableObject();
    void SetId( int id );
    int  GetId();
    void SetCommandInt( int comInt1 );
    int  GetCommandInt();
    void SetCommandInt2( int comInt2 );
    int  GetCommandInt2();
};