Sha256: 09f9cee677da7a87fe60f21793235b547d501142bb5930987789fd8a50b58b97

Contents?: true

Size: 913 Bytes

Versions: 6

Compression:

Stored size: 913 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_temporary('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

6 entries across 6 versions & 1 rubygems

Version Path
wxruby3-0.9.0.pre.beta.14 rakelib/lib/director/locale.rb
wxruby3-0.9.0.pre.beta.13 rakelib/lib/director/locale.rb
wxruby3-0.9.0.pre.beta.11 rakelib/lib/director/locale.rb
wxruby3-0.9.0.pre.beta.10 rakelib/lib/director/locale.rb
wxruby3-0.9.0.pre.beta.9 rakelib/lib/director/locale.rb
wxruby3-0.9.0.pre.beta.8 rakelib/lib/director/locale.rb