Sha256: 6b5f66fa9ffe838b80dc50bb042f0c7f3675a2ae057a3b5cdc714c57cd1580d5

Contents?: true

Size: 1 KB

Versions: 4

Compression:

Stored size: 1 KB

Contents

# Copyright (c) 2023 M.J.N. Corino, The Netherlands
#
# This software is released under the MIT license.

###
# wxRuby3 wxWidgets interface director
###

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
          ]
        spec.ignore_unless('WXMSW', 'wxLanguageInfo::WinLang', 'wxLanguageInfo::WinSublang')
        # implemented in Ruby
        spec.ignore 'wxLocale::GetSystemEncodingName'
      end
    end # class Locale

  end # class Director

end # module WXRuby3

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wxruby3-1.5.0 rakelib/lib/director/locale.rb
wxruby3-1.4.2 rakelib/lib/director/locale.rb
wxruby3-1.4.1 rakelib/lib/director/locale.rb
wxruby3-1.4.0 rakelib/lib/director/locale.rb