Sha256: 496bffdb8b1f6de2d0213434a590c4f99c03c9d959c3aa47dd4820a869ee289f

Contents?: true

Size: 957 Bytes

Versions: 3

Compression:

Stored size: 957 Bytes

Contents

###
# wxRuby3 wxWidgets interface director
# Copyright (c) M.J.N. Corino, The Netherlands
###

module WXRuby3

  class Director

    class Locale < Director

      def setup
        super
        spec.disable_proxies
        spec.items << 'wxLanguageInfo' << 'language.h'
        spec.gc_as_object('wxLocale')
        spec.gc_as_untracked('wxLanguageInfo')
        spec.make_concrete 'wxLanguageInfo'
        spec.regard %w[
          wxLanguageInfo::Language
          wxLanguageInfo::LocaleTag
          wxLanguageInfo::CanonicalName
          wxLanguageInfo::CanonicalRef
          wxLanguageInfo::Description
          wxLanguageInfo::DescriptionNative
          wxLanguageInfo::LayoutDirection
          wxLanguageInfo::WinLang
          wxLanguageInfo::WinSublang
          ]
        spec.set_only_for('__WIN32__', 'wxLanguageInfo::WinLang', 'wxLanguageInfo::WinSublang')
      end
    end # class Locale

  end # class Director

end # module WXRuby3

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.rc.3 rakelib/lib/director/locale.rb
wxruby3-0.9.0.pre.rc.2 rakelib/lib/director/locale.rb
wxruby3-0.9.0.pre.rc.1 rakelib/lib/director/locale.rb