Sha256: f7a83b5b98718b2b1ff79ac312af13983e1404e33b736191d1926e0710ee75a9

Contents?: true

Size: 921 Bytes

Versions: 1

Compression:

Stored size: 921 Bytes

Contents

/*
 * wxStaticBitmapBase.cpp
 *
 *  Created on: 12.05.2012
 *      Author: hanmac
 */


#include "wxApp.hpp"
#include "wxStaticBitmap.hpp"
#include "wxBitmap.hpp"

VALUE rb_cWXStaticBitmapBase;

#if wxUSE_STATBMP
#define _self unwrapTypedPtr<wxStaticBitmapBase>(self,rb_cWXStaticBitmapBase)

namespace RubyWX {
namespace StaticBitmapBase {

macro_attr(Bitmap,wxBitmap)

}
}
#endif
DLL_LOCAL void Init_WXStaticBitmapBase(VALUE rb_mWX)
{
#if 0
	rb_mWX = rb_define_module("WX");
	rb_cWXWindow = rb_define_class_under(rb_mWX,"Window",rb_cObject);
	rb_cWXControl = rb_define_class_under(rb_mWX,"Control",rb_cWXWindow);

	rb_define_attr(rb_cWXStaticBitmapBase,"bitmap",1,1);
#endif
#if wxUSE_STATBMP
	using namespace RubyWX::StaticBitmapBase;
	rb_cWXStaticBitmapBase = rb_define_class_under(rb_mWX,"StaticBitmapBase",rb_cWXControl);

	rb_define_attr_method(rb_cWXStaticBitmapBase,"bitmap",_getBitmap,_setBitmap);

#endif

}



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rwx-0.0.1.dev ext/wxStaticBitmapBase.cpp